Responsiveness and tabs #179

Merged
enes merged 23 commits from 177-sticky-side-columns into staging 2024-09-05 07:30:55 +00:00
Member

Responsiveness:

  • Add tabs for mobile screens
  • Allow navigation between the tabs with touch (natural swipe gesture, one by one) and on tab clicks
  • Limit the height of the tab to dynamic viewport height (dvh)
  • Allow the toolbox and file list to grow up to a height cap (dvh size)
  • Stop inputs and counterparties section from shrinking
  • Drawing: Update all mouse events to use pointer events (pointerDown, pointerUp, pointerMove)
  • Drawing only on mobile: Disable create resizing, a create a DEFAULT_SIZE rect and use handle to resize instead

Additional:

  • Adjust footer to use react portal and add as needed per page route (can be placed anywhere and will show up at the bottom of main)
  • Add intersection observer to track buttons active tab state
  • Add small loading spinner variant
  • Update default loading spinner
  • Split viewers and signers in the sigit details section
  • Add mark colors based on the user hex
  • Add UX feedback when mark is being dragged (opacity) and resized (resize handle color)

Fixes:

  • Add missing alt attributes on the images
  • Optimize pdf worker code to use single worker
  • Fix over-scroll showing different background color

Closes #177

Responsiveness: - Add tabs for mobile screens - Allow navigation between the tabs with touch (natural swipe gesture, one by one) and on tab clicks - Limit the height of the tab to dynamic viewport height (`dvh`) - Allow the toolbox and file list to grow up to a height cap (`dvh` size) - Stop `inputs` and counterparties section from shrinking - Drawing: Update all `mouse` events to use `pointer` events (`pointerDown`, `pointerUp`, `pointerMove`) - Drawing only on mobile: Disable create resizing, a create a `DEFAULT_SIZE` rect and use handle to resize instead Additional: - Adjust `footer` to use react portal and add as needed per page route (can be placed anywhere and will show up at the bottom of `main`) - Add intersection observer to track buttons active tab state - Add small loading spinner variant - Update default loading spinner - Split `viewers` and `signers` in the sigit details section - Add `mark` colors based on the user hex - Add UX feedback when mark is being `dragged` (opacity) and `resized` (resize handle color) Fixes: - Add missing alt attributes on the images - Optimize pdf worker code to use single worker - Fix over-scroll showing different background color Closes #177
enes added 22 commits 2024-09-04 12:18:07 +00:00
Closes #141
fix(tabs): add tab icons
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
2be7f3d51b
enes changed title from 177-sticky-side-columns to Responsiveness and tabs 2024-09-04 12:18:44 +00:00
enes added 1 commit 2024-09-04 12:44:40 +00:00
refactor(drawing): fix mouse comments, use pointer
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
9223857e18
b reviewed 2024-09-04 18:40:16 +00:00
@ -73,0 +80,4 @@
li {
list-style-type: none; /* Removes the bullets */
margin: 0; /* Removes any default margin */
padding: 0; /* Removes any default padding */
Owner

loving these comments

loving these comments
b approved these changes 2024-09-04 18:41:47 +00:00
eugene approved these changes 2024-09-05 06:31:51 +00:00
enes merged commit 7d0d4fcb48 into staging 2024-09-05 07:30:55 +00:00
enes deleted branch 177-sticky-side-columns 2024-09-05 07:30:55 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sigit/sigit.io#179
No description provided.