Fix organized content burger
#317
Open
w25tran
wants to merge 6 commits from fix-oc-burger
into main
pull from: fix-oc-burger
merge into: www:main
www:2022-07-08-MUA-Update
www:a258wang-events-2022-09-28
www:amy-add-alt-tab-f22
www:amy-add-librarian-f22
www:amy-events-august-2022
www:amy-events-karaoke
www:amy-fix-vp-f22
www:amy-image-optimization-quick-fix-experiment
www:amy-news-2022-09-14
www:amy-random-shapes
www:amy-update-annie-headshot-f22
www:amy-update-community-reps
www:amy-update-internship-repo-f22
www:annies/add-circles-event
www:anniesun/add-myself-to-webstite
www:b72zhou-past-exec
www:bonnie-team-member-card
www:darren/add-myself-to-website
www:darren/add-news
www:j285he-add-news-09-07
www:j285he-ldap-test-example
www:jan-2023-constitution-changes
www:ldap-exec-test
www:main
www:neil-members
www:news-2022-09-08
www:news-2022-09-10
www:renovate/date-fns-tz-2.x
www:renovate/eslint-8.x
www:renovate/eslint-plugin-prettier-4.x
www:renovate/eslint-plugin-react-7.x
www:renovate/fs-extra-11.x
www:renovate/ldapts-4.x
www:renovate/mdx-js-loader-2.x
www:renovate/mdx-js-react-2.x
www:renovate/next-11.x
www:renovate/next-13.x
www:renovate/next-mdx-11.x
www:renovate/next-mdx-13.x
www:renovate/next-mdx-remote-3.x
www:renovate/node-18.x
www:renovate/node-19.x
www:renovate/npm-9.x
www:renovate/postcss-preset-env-8.x
www:renovate/react-18.x
www:renovate/react-dom-18.x
www:renovate/remark-14.x
www:renovate/remark-html-15.x
www:renovate/squoosh-lib-0.x
www:renovate/typescript-4.x
www:renovate/typescript-eslint-eslint-plugin-5.x
www:renovate/typescript-eslint-parser-5.x
www:shahanneda-news-11jan2022
www:shahanneda/add-alt-tab-news
www:shahanneda/add-bot
www:shahanneda/add-code-party-1
www:shahanneda/add-event
www:shahanneda/add-events
www:shahanneda/add-myself
www:shahanneda/fix-build-image-script
www:shahanneda/fix-name-parts
www:shahanneda/optimze-image-script
www:shahanneda/update-exec-blurbs
www:shahanneda/update-project-program
www:support-multiple-news-homepage
www:unix101-1
www:update-events
www:warning-header
Reviewers
Request review
No reviewers
Labels
Apply labels
Clear labels
a11y
Backlog
Blocked
Bug
Content
Dependencies
Design
Feature Request
Good First Issue
In Progress
Performance
Priority - High
Priority - Low
Priority - Medium
Untriaged
No Label
a11y
Backlog
Blocked
Bug
Content
Dependencies
Design
Feature Request
Good First Issue
In Progress
Performance
Priority - High
Priority - Low
Priority - Medium
Untriaged
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
2 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: www/www-new#317
Reference in new issue
There is no content yet.
Delete Branch 'fix-oc-burger'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
Closes #209
Now organized content burger always stays on screen as long as the organized content component is on screen.
fix-oc-burgerto Fix organized content burger 1 year agoThe burger is never visible now. https://csclub.uwaterloo.ca/~a3thakra/csc/fix-oc-burger/about/constitution/
Interestingly, the burger is only not visible on the Read All page. I suspect that the 'detect if is on screen' code which uses a
useRef
, doesn't recognize the read all page since its generated serparately (components/OrganizedContent/Readall.tsx). I'm not sure the best way to go about changing this though.Obviously if we want to avoid this all together, we can just have the burger show all the time, but that wouldn't play well if we end up having the OrganizedContent component along with other stuff on the same page some time in the future.
Reviewers