Skip to content
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

Clear(er) structure in App #9

Merged
merged 8 commits into from
Sep 20, 2023
Merged

Clear(er) structure in App #9

merged 8 commits into from
Sep 20, 2023

Conversation

dominicfarr
Copy link
Member

@XavierMod
Remove unnecessary code from App.tsx
Improve semantic structure of App.tsx

==========================
Remove unnecessary code from App.tsx
Improve semantic structure of App.tsx
===========================================
Restructure Block(s) to remove redundant div.
Add 'temporary' marginBottom override to Block to emulate previous
feel.
==========================================
Create a new group button was wrapped by a React-Router-Dom.Link component,
which renders an anchor; however, so does the button component. This
caused a strange unnecessary anchor inside an anchor.
Solution: remove the Link component and use the button component directly
to call the navigate function in React-Router-Dom instead.
===========================
Out going algo is unnecessarily loopy. Random already generates a
long enough number.
NB: Still high collision chance, but good enough for now.
=======================
Add input for group id
Add button to join group
Add ux to disable button/link when group id is not provided
@dominicfarr
Copy link
Member Author

@XavierMod Because I'm super rusty at git I've managed to mess up this PR with non related code. The last push added code concerning join existing group. This should be in a separate PR, sorry!

@dominicfarr dominicfarr added the enhancement New feature or request label Sep 19, 2023
dominicfarr and others added 2 commits September 19, 2023 13:25
================
Add disabled prop to Button component
@XavierMod XavierMod merged commit a6f9943 into main Sep 20, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants