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

Feat/updated image system #76

Merged
merged 254 commits into from
Jan 6, 2024
Merged

Conversation

JohanHjelsethStorstad
Copy link
Member

@JohanHjelsethStorstad JohanHjelsethStorstad commented Jan 4, 2024

needs a lot of review, and to be made mobile friendly

Adds much of the image system (not the part for using images in sites. The component will be updated for this later). Also adds a lot of functionality that can hopefully be used on many sites.

Features:

  • Adds error boundary
  • Standardises the way of working with server actions through generic ActionReturn
  • Standardises how to submit forms (using server actions) through custom component
  • Updates and refactors many of the related UI components for forms
  • Adds two file upload components for uploading one and many files (drop zone)
  • Adds standard way to fetch data in batches (paging) using contexts
  • Adds component (yanked from another stale branch)

Known problems:

  • When updating metadata on a Image in the collection display closes due to the way data is refetched in pagingContext
  • The sites created are not mobile friendly

@JohanHjelsethStorstad
Copy link
Member Author

Im now done

@JohanHjelsethStorstad JohanHjelsethStorstad merged commit 9be97d5 into main Jan 6, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants