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

Deploy 28012021 staging to master #1118

Merged
merged 13 commits into from
Jan 28, 2021
Merged

Deploy 28012021 staging to master #1118

merged 13 commits into from
Jan 28, 2021

Conversation

denisdimitrov
Copy link
Contributor

@denisdimitrov denisdimitrov commented Jan 28, 2021

Deploys:

dependabot bot and others added 13 commits January 25, 2021 02:39
…ents (#1080)

* cleanup PartyMapAdmin imports
* cleanup PartyMapAdmin + useCallback()'s
* remove CampAdmin as it was identical to PartyMapAdmin
* cleanup PartyMap imports
* cleanup AnnouncementMessage component
* remove BannerMessage component + refactor old usages to use AnnouncementMessage instead
* cleanup PartyMap component + include missing parts from Camp
* remove Camp component + styles as they are no longer used by anything
* cleanup PartyMap Map imports
* huge refactor to copy any missing parts from the old Camp Map + related components -> PartyMap (needs further cleanup)
* cleanup unused styles in PartyMap.scss
* cleanup unused styles in OldCampMap.scss
* cleanup RoomAttendance component + useMemo
* rename useCampPartygoers hook -> useVenueRecentPartygoers
* cleanup no longer required onMove param in useKeyboardControls hook
* extract makeUpdateBanner from PartyMapAdmin component -> api/partyMapAdmin + cleanup selector usage in PartyMapAdmin
* add classnames dependency
* refactor PartyMapAdmin component to use ref rather than local state + clean up UI/UX
* rename PartyMapAdmin -> BannerAdmin + move into components/organisms
* rename partyMapAdmin -> bannerAdmin
* remove AvatarGrid's AvatarAdmin component + refactor Router to use generic BannerAdmin component instead
* remove Playa's PlayaAdmin component + refactor Router to use generic BannerAdmin component instead
* add @debt to VideoAdmin for future refactor to DRY common aspects with BannerAdmin
* refactor CampRoomData/PartyMapRoomData into the RoomData file + update references
* remove CampRoomData type + update all references to point to PartyMapRoomData (which was exactly the same)
* extract common keys from RoomData/PartyMapRoomData into BaseRoomData + sort keys
* rename PartyMapRoomOverlay -> MapRoomOverlay
* remove irrelevant 'attendances' prop drilling from PartyMap / Map / MapRoomOverlay components
* cleanup legacy roomClicked / setRoomClicked code in MapRoomOverlay
* cleanup showRoomTitle logic in MapRoomOverlay component
* cleanup legacy roomHovered hack in MapRoomOverlay component
* rename enterRoom -> trackRoomEntered in useLocationUpdateEffect + related imports
* rename .isUnderneath class -> room-selected in Map.scss scss + update usages
* refactor/clean up MapRoomOverlay + related styles/props/etc
* delete old unused camp components/styles/etc + move useMapGrid / usePartygoersBySeat / usePartygoersOverlay under PartyMap
* rename MapRoomOverlay -> MapRoom
* extract makeUpdateUserGridLocation from Map component into api/profile
* cleanup imports in Audience component
* refactor makeUpdateUserGridLocation to accept null grid locations
* cleanup imports in AvatarGrid component
* refactor Audience / AvatarGrid components to use makeUpdateUserGridLocation
* rename makeCampRoomHitFilter -> makeRoomHitFilter
* refactor some functions from Map back up into it's parent PartyMap, cleanup, fix 'static now' time bug, etc
* rename makeCampRoomHitFilter -> makeRoomHitFilter
* mark currentTimeInUnixEpoch as deprecated + future cleanup required
* remove unused InfoDrawer component
* remove unused Attendances type
* refactor all venue related types into types/venues (CampVenue, JazzbarVenue, PartyMapVenue, VenueEvent, VenueTemplate, etc)
* refactor usages of isCampVenue + delete it
* refactor usages of CampVenue type + delete it
* refactor all room related types into types/rooms (AvatarGridRoom, RoomEventData, etc) + rename types to remove Data suffix
* remove unused RoomCard/RoomList components + cleanup related code that became unused + remove legacy Room/RoomEvent types
* rename PartyMapRoom -> Room as it is the main type we use
* cleanup unnecessary undefined handling
* cleanup unneeded commented event schedule modal from PartyMap
* cleanup unneeded commented InfoDrawer from PartyMap
* cleanup unneeded commented ChatDrawer from PartyMap
* cleanup unneeded commented CountDown + starting location indicator from PartyMap
* cleanup unneeded commented RoomList/UserList from PartyMap
* rename PartyMap's .room-container css class to .room-modal-container to not clash with AvatarGrid
* ensure RoomModalOngoingEvent.scss is imported correctly
* rename PartyMap's .room css class to .map-room-container to not clash with other styles
* restore some of the old .camp-venue styles into PartyMap's .map-room-container class
* fix firebase imports
* simplify MapRoom component + fix styles
* cleanup unused selectedRoom/isSelected props from PartyMap/Map/MapRoom components
* use async/await in api/bannerAdmin
* properly prevent default callback behaviour in saveBanner in BannerAdmin component
* add Bugsnag.notify to call out usage of tech debt 'upsert' pattern
* restore transition transform scss for .maproom styles
* restore backdrop-filter blur scss for .maproom__label styles
* small tweaks/cleanup
* move createJazzBar function from types/venues to utils/venue
* cleanup utils/event to consistently use getCurrentTimeInUTCSeconds helper
* cleanup RoomModal + useCallback/useMemo/etc
* fix RoomModal abruptly closing without transition
* fix RoomModal's roomEvents.map to not use index as the key prop
* add debt note calling out use of 'as' in NavSearchBar
* Beginnings of using venueId to save, for when venue is renamed
* fix initFirebaseAdminApp to allow it's 2nd argument to be optional as originally intended
* fix shebang/imports in count-users-entered-venue to align with our patterns
* refactor scripts/get-badges for performance/efficiency
* get-visits: retrieve extra visit info
* revert unrelated changes to DetailsForm component
* add secondsToDuration to time utils
* add formatSecondsAsDuration to time utils
* mark @debt in time utils
* format visit.timeSpent with formatSecondsAsDuration
* add example to formatSecondsAsDuration in time utils
* allow scripts/upload-table-config to use different credential files
* fix scripts/clone-data-across-firebase-projects types
* cleanup imports
* move generateTables into lib/helpers
* make editable config section more obvious in scripts/upload-table-configs
* ensure that scripts/get-badges fails fast with a useful error message if more than 10 venueIds are provided
* add ensureProjectIdMatchesCredentialProjectId to scripts/lib/helpers
* use ensureProjectIdMatchesCredentialProjectId in initFirebaseAdminApp
* cleanup scripts/lib/helpers + add documentation comments
* add makeScriptUsage to scripts/lib/helpers
* refactor scripts/count-documents to accept an optional credentialPath + update usage to use makeScriptUsage helper
* refactor scripts/count-users-entered-venues to accept an optional credentialPath + update usage to use makeScriptUsage helper
* refactor scripts/duplicate-venue to accept an optional credentialPath + update usage to use makeScriptUsage helper
* refactor scripts/get-events to accept an optional credentialPath + update usage to use makeScriptUsage helper
* refactor scripts/get-users to accept an optional credentialPath + update usage to use makeScriptUsage helper
* refactor scripts/get-venue-owners to accept an optional credentialPath + update usage to use makeScriptUsage helper
* refactor scripts/get-venues to accept an optional credentialPath + update usage to use makeScriptUsage helper
* refactor scripts/get-visitors to accept an optional credentialPath + update usage to use makeScriptUsage helper
* refactor scripts/resize-images to accept an optional credentialPath + update usage to use makeScriptUsage helper
* refactor scripts to use makeScriptUsage helper
* refactor scripts/upload-function-config-service-accounts to use makeScriptUsage/ensureProjectIdMatchesCredentialProjectId helpers
* replace 'as' type cast with proper typing on authUsersById in scripts/get-badges
* simplify typing
* Bump prettier from 2.0.5 to 2.2.1

Bumps [prettier](https://github.com/prettier/prettier) from 2.0.5 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.0.5...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

* npm run prettier

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Glenn 'devalias' Grant <glenn@devalias.net>
* add venue banner adminn for all venues

* refactoring and clean up

* remove unused component

* clean up after rebase

* add missing announcement components

* run prettier

* remove unused component BannerAdmin

* refactoring and comment fixes

* remove admin banner and use banner admin

* additional comment fixes and refactoring

* remove duplicate hook call
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Jan 28, 2021
@denisdimitrov denisdimitrov merged commit acffc68 into master Jan 28, 2021
@0xdevalias 0xdevalias added the 🚀 deployment For PRs that are deploying to production label Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file 🚀 deployment For PRs that are deploying to production
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants