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

Refactor the app for individual users and admin view for management #35

Merged
merged 33 commits into from
Nov 17, 2023

Conversation

swouf
Copy link
Contributor

@swouf swouf commented Nov 3, 2023

In this PR, I removed the collaborative feature (for now) and make the app individual. In the builder, I implemented an admin view for managing (preview and download for now) the drawings of all the members.

Working feature and improvements

  • ✅ Saving basic elements is working well
  • ✅ Upgrade to latest version of Excalidraw
  • ✅ Admin view with thumbnails and download button for each drawing
  • ✅ Player view only Excalidraw

Work in progress

What is still not working (and won't be fixed in this PR)

@swouf swouf added feature New feature or request priority Give priority to this issue refactor labels Nov 3, 2023
@swouf swouf requested a review from spaenleh November 3, 2023 15:31
@swouf swouf self-assigned this Nov 3, 2023
when managing the state of the elements, a reference to the
state was given to Excalidraw that directly wrote in it.
Therefor, the state was actually directly updated which was
not the desired behaviour.
change AWS region and use env vars and secrets
minor upgrades in settings
@swouf swouf marked this pull request as ready for review November 16, 2023 20:27
@swouf swouf requested a review from pyphilia November 16, 2023 20:28
Copy link
Member

@spaenleh spaenleh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me ! I have left some comments, but I trust that you got the behaviour you want 😉

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty file ?

Comment on lines 113 to 117
// action={
// <IconButton aria-label="settings">
// <MoreVertIcon />
// </IconButton>
// }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove ?

aria-labelledby={`tab-${index}`}
{...other}
>
{/* TODO: Fix height problem with tabs. */}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still an issue ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure. I don't remember fixing it but I cannot reproduce it now. It may depend on the screen resolution.

src/modules/main/AnalyticsView.tsx Outdated Show resolved Hide resolved
src/modules/main/App.tsx Show resolved Hide resolved
@swouf swouf merged commit 83ba87c into main Nov 17, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request priority Give priority to this issue refactor v3.0.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants