-
Notifications
You must be signed in to change notification settings - Fork 1
Improve UX and error messaging. Add event badges. #99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
44b026f
ZPI-173 fix: notification flag is now properly passed on creation
t-shotgnu d5a5e50
ZPI-173 refactor: export loading screen to separate compoent
t-shotgnu 9845f2e
ZPI-173 fix: improve login errors messages
t-shotgnu 02e5152
ZPI-173 refactor: rewrite event creation form to complete lag removal
t-shotgnu 3f7886c
ZPI-173 feat: user can't rate his own events
t-shotgnu cd98a49
ZPI-173 fix: dates are now properly displayed
t-shotgnu 97e78cd
ZPI-99 feat: display reputation badges
t-shotgnu e22f9aa
ZPI-173 fix: suppress navigation warnings in settings
t-shotgnu dd25c67
ZPI-173 feat: implement messaging if user is not able to create new e…
t-shotgnu d572dd4
style: minor fixes
t-shotgnu 6951bb5
ZPI-173 refactor: rewrite fetching user location, add block messaging…
t-shotgnu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| import { CustomSurface } from 'components/Layout/CustomSurface'; | ||
| import { ViewStyle } from 'react-native'; | ||
| import { Icon } from 'react-native-paper'; | ||
|
|
||
| type CustomChipProps = { | ||
| icon: string; | ||
| iconColor: string; | ||
| style: ViewStyle; | ||
| children?: React.ReactNode; | ||
| }; | ||
|
|
||
| export const CustomChip = ({ icon, iconColor, style, children }: CustomChipProps) => { | ||
| return ( | ||
| <CustomSurface | ||
| style={[ | ||
| { | ||
| display: 'flex', | ||
| flexDirection: 'row', | ||
| alignItems: 'center', | ||
| paddingBlock: 6, | ||
| paddingInline: 10, | ||
| gap: 4, | ||
| }, | ||
| style, | ||
| ]}> | ||
| <Icon source={icon} size={16} color={iconColor} /> | ||
| {children} | ||
| </CustomSurface> | ||
| ); | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| import { ActivityIndicator, View } from 'react-native'; | ||
| import { Icon } from 'react-native-paper'; | ||
| import { Text } from 'components/Base/Text'; | ||
|
|
||
| export const LoadingScreen = () => { | ||
| return ( | ||
| <View style={{ justifyContent: 'center', alignItems: 'center', marginBottom: 24 }}> | ||
| <Icon source={require('assets/watchout.png')} size={250} /> | ||
| <Text variant="h4" style={{ marginTop: 16 }}> | ||
| Ładowanie... | ||
| </Text> | ||
| <ActivityIndicator size="large" style={{ marginTop: 16 }} /> | ||
| </View> | ||
| ); | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.