digitalfabrik / integreat-app Goto Github PK
View Code? Open in Web Editor NEWReact JS and React Native App for Integreat
Home Page: https://integreat.app
License: MIT License
React JS and React Native App for Integreat
Home Page: https://integreat.app
License: MIT License
Fix this in the extracted endpoint module! integreat-api-client
Environment: -
Linked issues:
None
Environment: -
Linked issues:
We have to wait for an enzyme release. Watching this PR:
enzymejs/enzyme#1513
Environment: -
Linked issues:
When exporting PDF from link https://integreat.app/testumgebung/ar/مرحبًا-بكم, a JS error occurs. See screenshots. The error does not seem to influence the outcome, the PDF is being created and the download opens.
Environment: None
Linked issues:
Timestamps should be displayed according to the following rule:
Always display time and date in the local time where the event is happending.
If timezone of the event is not equal to the timezone of the user/device display the timezone aswell.
Also remove the following line in the circleCI config: https://github.com/Integreat/integreat-webapp/blob/4f8e85761a9bf7120a079e2fca2ab435c0718f8a/.circleci/config.yml#L79
Environment: -
Linked issues:
None
Environment: -
Linked issues:
Create a file, e.g. app/constants/routes.js, and define all routes used in Navigator.js. Then only use those variables instead of hard coded strings.
Environment: -
Linked issues:
Add next to pdf button.
Use browser api for this.
Environment: -
Linked issues:
Environment: -
Linked issues:
Currently we normalize the path before creating the CategoryModel
This means it is possible to construct a CategoryModel with a non-normalized path.
It would make sense to normalize the path in the constructor or when accessing the path variable.
Also check other models.
Environment: -
Linked issues:
In order to be accessible our icons should be simple SVGs. The current thumbnails are in the post object like this:
thumbnail: "https://...",
The new post object will look like this:
thumbnail: "https://...",
dynamic_thumbnail: "https://...",
color: '#123456'
If the dynamic_thumnail is non-null we use the color flag to generate a custom thumbnail.
There are the Icons in SVG format: https://drive.google.com/drive/folders/12uBcz3YdiElvB1jRshkvYyoKwoYKQ_-F
Environment: -
Linked issues:
<~fuchs> can create an After Effects animation for the screen (https://github.com/react-community/lottie-react-native).
Environment: -
Linked issues:
This is a security feature and could safe bandwidth.
You can instruct the browser not to load specific content: https://www.html5rocks.com/en/tutorials/security/content-security-policy/
Environment: -
Linked issues:
Remove locales:missing script. Also remove task from package.json.
Environment: None
Linked issues:
See here how to do it: nitaliano/react-native-mapbox-gl#498 (comment)
Bounding boxes should restrict the user within the selected city.
Environment: -
Linked issues:
The 3 nearest cities should be featured in the city selection. This means they are listed first, before the alphabetical listing of all sites/regions. Nearest cities are based on the location of the device and its distance to all sites/regions
The longitude and latitude for sites/regions (and also for its aliases) is available in the sites endpoint of the APIv3: https://github.com/Integreat/cms/wiki/REST-APIv3-Documentation#response
The app has to calculate the distance to all cities and select the closest ones. A cut off distance of 50 km is useful. That means, if no site/region is closer than 50km, no region is shown.
It could make sense to implement this using an IP-based location lookup as this requires no GPS.
*
The problem with this issue is that most devices (desktop) which use the webapp do no offer a location. Also scrolling down to your home city is not as much of a problem as on mobile.
Therefore this issue is not important right now.*
Environment: -
Linked issues:
None
Environment: -
Linked issues:
None
Environment: -
Linked issues:
https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
I think we can disable external -iframes-, scritps and stylesheets. Maybe we can also disallow non-https fetches.
Environment: -
Linked issues:
See WEBAPP-354 for description about the feature.
Environment: -
Linked issues:
The task WEBAPP-387, WEBAPP-423 fixed a internal linking problem.
Create a test to detect the problem.
Environment: -
Linked issues:
https://developer.chrome.com/multidevice/android/customtabs work in Chrome and Firefox.
External links should be opened in custom tabs. Also add a setting in the app.
Maybe use this library: https://docs.expo.io/versions/v32.0.0/sdk/webbrowser/
Environment: -
Linked issues:
Remove all except the material font. Also add documentation about using vector fonts and how to use the removed ones later.
Environment: -
Linked issues:
Test RemoteContent
Environment: -
Linked issues:
Add tests
Environment: -
Linked issues:
The status of the download should be reported. Implement a progressbar to display it.
Environment: -
Linked issues:
We want to close the modals by swiping down. Display the background with increasing opacity while swiping down.
See this sample code with react-naviation:
<Stack.Navigator screenOptions=` headerShown: false ` mode="modal">
<Stack.Screen name="Home" component={BottomBarNavigation} />
<Stack.Screen name="Profile" component={ProfileScreen} />
<Stack.Screen
name="Add"
component={AddScreen}
options={{
...TransitionPresets.ModalSlideFromBottomIOS,
gestureEnabled: true,
gestureResponseDistance: {
vertical: 200,
},
cardStyle: {
backgroundColor: 'transparent',
marginTop: 150,
flex: 1,
},
}}
/>
</Stack.Navigator>
Environment: -
Linked issues:
As a_ developer_, I want to have E2E tests in order to test features.
The main goal of this is:
You can experiment with a headless-chrome which does not require browserstack.
Environment: -
Linked issues:
Use checksums to validate cached content.
Do this after initial downloading and when refreshing.
This needs support by the cms which should provide checksums.
Environment: -
Linked issues:
The APK size is currently ~50MB this should be reduced.
Probably some library update in pushed this size.
Environment: -
Linked issues:
... once this issue is resolved: faceyspacey/redux-first-router#340
Environment: -
Linked issues:
Add feedback functionality for pois page.
Environment: -
Linked issues:
Add tests
Environment: -
Linked issues:
None
Environment: -
Linked issues:
There are two possibilities to implement a high contrast mode:
Adapt everything in the forntends:
For images (icons) try this css-filter:
hue-rotate(207.8deg) saturate(2000%) grayscale(100%)
See attachments for examplary result. Drawbacks only, if city uses (realistic) images instead of icons (see Dormagen)
Adjust text weight, color. Adjust horizontal line color.
Add an entry to the toolbar
We also have the icons in SVG format here: https://drive.google.com/drive/folders/12uBcz3YdiElvB1jRshkvYyoKwoYKQ_-F
Involve the cms:
In order to be accessible our icons should be simple SVGs. The current thumbnails are in the post object like this:
thumbnail: "https://...",
The new post object will look like this:
thumbnail: "https://...",
dynamic_thumbnail: "https://...",
color: '#123456'
If the dynamic_thumnail is non-null we use the color flag to generate a custom thumbnail.
There are the Icons in SVG format: https://drive.google.com/drive/folders/12uBcz3YdiElvB1jRshkvYyoKwoYKQ_-F
Environment: -
Linked issues:
Fix this in the extracted endpoint module! integreat-api-client
Environment: -
Linked issues:
Add test
Environment: -
Linked issues:
None
Environment: -
Linked issues:
Currently there is no way to update the offline data incrementally. Only a complete refetch updates the data.
Also make sure offline mode is handled properly: https://www.npmjs.com/package/react-native-offline
Split this task if it gets too difficult.
We can use the hashes in API v3.
Environment: -
Linked issues:
In order to be able to set the personalized ids for the JPAL evaluation users should be able to set the id by just clicking on a link/scanning a qr code. In order to do that, the app has to support deep linking. It should work on android and iOS, but if this proves as too much work, split the issue.
Corresponding documentation:
https://reactnavigation.org/docs/en/deep-linking.html
The app should be able to handle integreat:// and https://integreat.app for integreat, https://malteapp.de for malte, https://aschaffenburg.app for aschaffenburg, i.e. it should depend on the build configs if possible. Decide if it makes sense to implement malteapp:// and aschaffenburgapp:// or similar as well.
Environment: -
Linked issues:
None
Environment: -
Linked issues:
At first only upload it to izzy in the repo. Then create issues for things we have to do before actually uploading it to fdroid the normal way.
Maybe the javascript needs to be precompiled.
Example:
https://github.com/lopespm/arxiv-papers-mobile
https://gitlab.com/fdroid/fdroiddata/blob/master/metadata/com.rockbyte.arxiv.txt
Environment: -
Linked issues:
Test RemoteContent
Environment: -
Linked issues:
None
Environment: -
Linked issues:
Environment: -
Linked issues:
Look into whether this is still relevant and then do it or reject the issue.
Currently iPhone displays the status bar in translucent mode, so the content of the web-app floats behind the status bar (looking ugly).
Setting the meta tag apple-mobile-web-app-status-bar-style in index.ejs to black or some other color maybe, then the statusbar is displayed in default mode (I suppose).
Also there's a click delay (bug) in iOS Safari, so we need to do a little refinement there, as well.
Environment: -
Linked issues:
A tool like https://github.com/s0md3v/XSStrike can be used to generate strings for testing.
Data which comes from the API should all be sanitized!
Environment: -
Linked issues:
None
Environment: -
Linked issues:
This is only used for the SearchBar and the Button. Implement it yourself or find a non-beta ui toolkit.
Environment: -
Linked issues:
To analyse the metro bundle use: https://www.npmjs.com/package/source-map-explorer
If that does not work we can look into haul: https://github.com/callstack/haul
The attachment is a result of source-map-explorer.
Environment: -
Linked issues:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.