[Faculty] Fix UI for course files#69
Draft
Shadmerov wants to merge 25 commits into
Draft
Conversation
- Move file upload and multi-select routes into shared teaching screens. - Hide tab bar on nested file modals. - Improve Android back navigation and download overwrite confirmation.
- Add dashed outline upload UI. - Improve multi-file upload and dark mode button styling. - Refine colors for better theme visibility.
…roved UI consistency
…adScreen functionality - Add platform-specific styling for CourseFilesContextMenu to improve UI consistency. - Implement screen exit handling in CourseFilesUploadScreen to reset upload state on navigation.
- Add border color to SearchBar - Replace custom divider implementation with IndentedDivider in CourseFilesList and CourseFilesUploadScreen for consistent styling.
- Update CourseFileMultiSelectScreen, CourseFilesScreen, and CourseFilesUploadScreen with a consistent iOS header (grabber + divider). - Adjust padding and layout for better visual alignment across screens. - Refactor file filtering logic in CourseFilesScreen for better performance.
…etter consistency
…n components - Adjusted file management hooks to streamline imports and improve code organization.
Use TextField in SearchBar for consistent input behavior and styling. Adjust layout styles to improve spacing and visual alignment.
…proved consistency
- Update CourseFileMultiSelectScreen, CourseFilesScreen, CourseFilesUploadScreen, and MoveFilesScreen to use CtaButton. - Remove redundant styles and improve button layout alignment. - Enhance button behavior with extra props for flexibility.
…lesScreen with useAnchoredMenu - Replace manual menu state handling with useAnchoredMenu to improve organization and readability. - Import formatFolderDetails utility to reduce duplicated formatting logic in file screens. - Align iOS header implementation across multi-select, files, and upload screens for consistency.
…ng type annotation
- Update navigation types for required ModifyFileScreen params. - Improve CourseDirectoryListItem and CourseFilesList translations/layout. - Refine CourseFilesScreen and multi-select file management logic. - Streamline upload type selection in CourseFilesUploadScreen.
Author
|
closes #10 |
- Update translations for file-related terms in English and Italian. - Refactor file management hooks to improve type definitions and streamline logic. - Replace CourseFileEntry with FileListItem for better clarity in file handling. - Introduce new modal for file moving functionality and improve existing UI components. - Adjust file size formatting utility for better accuracy and consistency.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
closes #10