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

📅 Add last updated to resource detail page #474

Merged
merged 3 commits into from
Jun 23, 2021
Merged

Conversation

Feeshay
Copy link
Member

@Feeshay Feeshay commented Jun 17, 2021

Status:

🚀 Ready

Description

  • Fixes resource detail page not loading (part of Mapview and resource detail bugs #471) - TIL about destructuring
  • Add last updated to desktop and mobile resource detail pages (need to translate static text)

Resolves #465

Screenshots

Desktop:
image

Translated date (still need to translate static text):
image

Mobile:
image

@vercel
Copy link

vercel bot commented Jun 17, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/hack4impact/nawc/C7AA7Ca7zdy2X8qFYnoA8p972XMp
✅ Preview: https://nawc-git-last-updated-resource-hack4impact1.vercel.app

@github-actions
Copy link

github-actions bot commented Jun 17, 2021

Flow Coverage

File Difference
client/src/components/desktop/ResourceDetail.jsx +0.03%
client/src/components/mobile/ResourceDetailMobile.jsx +20.84%
client/src/utils/messages.js +0.25%

@cypress
Copy link

cypress bot commented Jun 17, 2021



Test summary

24 0 0 0Flakiness 0


Run details

Project ymca
Status Passed
Commit b204c5f
Started Jun 23, 2021 12:23 AM
Ended Jun 23, 2021 12:25 AM
Duration 02:00 💡
OS Linux Ubuntu - 20.04
Browser Electron 87

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

Copy link
Member

@jackieo5023 jackieo5023 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing the resource detail, generally cleaning up some code, and adding the indicator! Looks great. Just one question on what the t tag is though

@@ -84,48 +85,51 @@ function ResourceDetail(props) {
async function didMount() {
const response = await getResourceByID(match.params.id, true);
if (response !== null) {
const { res } = response;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for changing all this back 😂

<t style={{ color: 'gray' }}>
{`\n\n${intl.formatMessage(
detailMessages.lastUpdated,
)} ${intl.formatDate(lastUpdated, {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for doing the format date!

@@ -390,6 +394,17 @@ function ResourceDetail(props) {
id: `resource-eligibilityRequirements-${match.params.id}`,
defaultMessage: eligibility,
})}`}
{lastUpdated && (
<t style={{ color: 'gray' }}>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is a t tag? is there a reason we can't do span/div?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bruh idk I swear it was used for text but that might've been a completely different project lol

@Feeshay Feeshay merged commit b94c9a8 into master Jun 23, 2021
@Feeshay Feeshay deleted the last-updated-resource branch June 23, 2021 00:55
jackieo5023 added a commit that referenced this pull request Jul 19, 2021
* 🙎‍♂️ Change staging urls (#320)

* 🧗🏼‍♀️ Improve home page load times

* Replace nawc.now.sh api URIs with staging URI

* 💪 Add Neha to team on readme (#325)

* 🚴 Add Ayan to README.md (#326)

* Add Neha to team on readme

* Add Ayan to README.md

* Replace picture of Neha with Ayan

Co-authored-by: nehakonjeti <[email protected]>

* 🧶 Add FormatJS (#323)

* Adding Format JS

* 👩 ‍Add Luciana to readme (#327)

* Add Neha to team on readme

* Add Ayan to README.md

* Replace picture of Neha with Ayan

* adding luciana to readme

Co-authored-by: nehakonjeti <[email protected]>
Co-authored-by: ayanmallik <[email protected]>

* 🤿 Add license scan (#319)

* 👱‍♂️ Add Lam to README.md (#332)

* 🧛 Force absolute URL for resource website (#333)

* 🔧 Downgrade mapbox to fix known error (#335)

* ope

* Downgrad react-mapbox-gl and remove bootstrap

* Add bootstrap back in

* 📄 Create translation model and basic API (#334)

* model, api

* format

* i dont think the formatting did anything

* equals

* formatting

* index stuff

* put

* added api calls

* models

* added null return for null langauge request

* 201

* nits

* didnt add

Co-authored-by: Feeshay <[email protected]>
Co-authored-by: Luciana Toledo-Lopez <[email protected]>

* ⚡ Create endpoints for editing categories (#336)

* Create endpoints for editing categories

* Update endpoints after dev night with Neha

* Add subcategory endpoints

* Resolve Jackie's comments and fix linting errors

* Fix rename category function

Co-authored-by: Mallik <[email protected]>
Co-authored-by: nehakonjeti <[email protected]>

* 🤵🏾 Change to bcryptjs (#347)

* 🥑 Add one one liner description to resource cards (#345)

* implemented the one-liner running into errors with resource.jsx

* correct staging url, one-line works now only massive ass cards

* Fix huge card issue

* adressed jackie's comments

Co-authored-by: Jacqueline <[email protected]>

* 🐞 Resolve various bugs (#349)

* committing

* Location capitalization

* Remove comments

* Add question mark to forgot password

* Optional chaining

* 👨 ‍Create admin portal page and tabs (#351)

* Understood codebase to modify tab layout

* Modify navbar and add tabs within Admin page

* Remove unneeded cypress tests

* Add header for resource form

* Modify tab name to reflect add/edit resource

Co-authored-by: Jacqueline Osborn <[email protected]>

* ✊🏾 Greatly improve emojify bot (#358)

* 🔞 Internationalize App/Homepage (#341)

* very basic example

* BACKEND WORKS

* a bunch of translation crap

* locale dict

* mobile

* linting

Co-authored-by: Feeshay <[email protected]>
Co-authored-by: Neeraj Aggarwal <[email protected]>

* 🌎 Translate text and store in database (#354)

* Set up initial script

* Add steps

* Get resource description translations and store in db

* Edit post request body to google translate

* Remove body from translate request and fix saving translations

* Use script for translating descriptions to spanish, french, and chinese

* Remove comments

* Delete console.logs

Co-authored-by: Jacqueline <[email protected]>

* 🧑🏾‍⚕️ Modal for Add/Delete/Rename Category (#360)

* Create component for modal and add to page

* Add modal component

* Add switch statements

* Add icons and switch statements

* Fix lint errors

* Change name of modal component

* Add EditCategoryModal

* 🙅🏼‍♂️ Create menu sidebar for modifying categories (#359)

* Style menu sidebar according to Figma

* Feed sidebar with real categories

* Color close icon to be red

* 🇺🇳 Add Language dropdown menu to navbar (#355)

* adding languages dropdown, running into errors w react

* fixed errors

* added language dropdown, globe isnt appearing

* globe working now

* miniscule css change

* fixed lint message

* adding globe.svg

* add globe svg

* fixing merge errors

* added french and chinese language switching

* using onSelect now

Co-authored-by: Jacqueline Osborn <[email protected]>
Co-authored-by: lucianatl <Csc3maat>
Co-authored-by: Neeraj Aggarwal <[email protected]>

* 🔏 Fix a codeql security warning (#366)

* 🏃🏼‍♂️ Fix city null error (#369)

* 👨🏻‍💻 Set up FormatJS for resource filters (#370)

* Set up FormatJS for resource filters

* Remove console logs

* 👨🏿‍🦼 Translate resource on add and edit (#364)

* Create component for modal and add to page

* Add modal component

* Add switch statements

* Add icons and switch statements

* Fix lint errors

* Change name of modal component

* Add EditCategoryModal

* Edit endpoint for creating resource

* Translate for add  ing and editing resource

* Delete unused function call

* Fix object keys loop

* Add google vercel secret

Co-authored-by: Jacqueline Osborn <[email protected]>

* 🐜 Add antd ConfigProvider (#365)

* 👷🏾‍♂️ Finish functionality of sidebar (#368)

* Modify sidebar to contain buttons for adding categories

* Fix icon styling and implement arrow animation

Co-authored-by: Neeraj Aggarwal <[email protected]>

* 🥬 Add Format.js to Login.jsx and Register.jsx (#371)

* fixed errors

* addressing jackies comments

* fixing lint error

* wrapping security questions

* fixing security question key

* 🏙️ Fix home css for translations (#372)

* 🏌️‍♂️ Store language selection (#375)

* ✨ Complete conversion to FormatJS on resources page (#374)

* Complete conversion to FormatJS on resources page

* Get rid of eslint disable

* Do navbar

* 🏄🏻 Add FormatJS to resource detail page (#384)

* ✂️ Add modal functionality for sidebar (#367)

* Add modals to ResourceManager

* Implement functionality for subcategory modals

* Add flexibility for categories

* Fix rename function

* Fix rename subcategory but delete doesn't work

* Fix refresh for rename

* Implement functionality of modal buttons

* Update base url

* Edit subcategory key

* ??

Co-authored-by: Mallik <[email protected]>
Co-authored-by: Jacqueline <[email protected]>

* 🪑 Create table to manage resources (#361)

* table

* route

* colors

* now in color

* misc bugs

* fix link

* cleanup

* naming

* filtering

* debug

* small edge case

Co-authored-by: Feeshay <[email protected]>

* 🧔🏻 Sync table when editing categories (#385)

* Sync table when editing categories

* Use original url

* 🚣🏿‍♀️ Add link to resource form message (#391)

* Add link to resource form message

* Make message shorter

* 👩🏿‍🌾 Change resource filtering to backend (#390)

Co-authored-by: Neeraj Aggarwal <[email protected]>

* 🖊️ Add endpoint to edit resource categories (#395)

* tested and it works

* frontend api

Co-authored-by: Feeshay <[email protected]>

* ♥️ Use FormatJS on the rest of the site (#401)

* 🙋🏼 Use antd List for resource grid (#402)

* 🗾 Create frontend display for map view modal (#396)

* Flesh out grid structure within Resource Modal

* Style map view modal to match Figma design

* Remove map view modal from admin portal

Co-authored-by: Mallik <[email protected]>
Co-authored-by: Jacqueline Osborn <[email protected]>

* 📱 Mobile language switching menu (#403)

* adding submenu for language switching

* adding switching capabilities

* no more oonClick :(

* languages-> language currently being used

Co-authored-by: Jacqueline Osborn <[email protected]>

* ✏️ Add functionality to edit resource categories (#408)

* uhhhhh

* ummmmm

* add button

* remove console log

* setup editing

* colors

* works

* testing

* multiple-edit-categories

* await the things

* Fix

* stray comment

Co-authored-by: Feeshay <[email protected]>
Co-authored-by: Jacqueline <[email protected]>

* 🐢 Finalize translation API (#409)

* Delete category when deleting subcategory

* aaaa

* Finish create edit delete

* oop

* Change back url

* Remove console log

Co-authored-by: Neeraj Aggarwal <[email protected]>

* 💆 Display languages in their respective language (#411)

* stuff

* Add file

* Edit home spellcheck

* 👩🏼‍🦳 Bump emojify pr (#413)

* 🌐 Add backend pagination (#400)

* Change filtering to backend

* Include size and limit in aggregation

* Save changes

* Add totalData to res everywhere

* Change to nawc staging base url

* Alter test for totalData

* Change undefined to null

* Change how aggregation is defined

* Change base url

* Delete console.log

* Change back base url to staging

* Delete unnecessary comment

Co-authored-by: Jacqueline <[email protected]>

* 👋🏽 Change resource grid responsive numbers (#415)

* ⛲ ️ Translations page (#407)

* added translation to navabr potentnionally idk i don't have admin access

* adding translations link to navbar posssibly

* added translations page file and router in app.js

* adding translations.jsx

* adding Translations.css

* did i finally add the css file

* fixed css naming and got rid of admin resource stuff in Tranlsations.jsx

* ⚒️ Enable scroll on login and register (#418)

* 🧑‍🎨 Flesh out design of mapview entry (#410)

* Structure contents within map view entry

* Finish look of map view entry

* Bold key information within map view entry

* Refactor style sheet and left align contents

* Change selected prop type

* Remove outdated tests with homepage

* 🔄 Add tabs to switch between grid and map resource views (#420)

* need to fix styling

* no stick

* padding

* card tabs

* here you go

* margin

Co-authored-by: Feeshay <[email protected]>
Co-authored-by: Neeraj Aggarwal <[email protected]>

* 🙌🏼 Create testimonial model (#428)

* 👐🏽 Set up pagination in frontend (#414)

* Set up pagination in frontend

* Add size changer to pagination

* Fixed pagination

* Remove console logs

* Change to staging base url

* Change total count to 0

* Add pagination to save resources

* 🖱️ Create base backend for nearest resources (#421)

* Sadge

* ah

* Finalize geolocation stuff

* Clean up

* Add files

* Reset page number on filter change

* 🗾 Display nearby resources on mapview list (#430)

* Sadge

* ah

* Finalize geolocation stuff

* Clean up

* Add files

* Fetch nearest resources and pipe them into mapview entry

* Change cursor to pointer when hovering

* Resolve Jackie's comments on PR

* Remove testing tab from resource manager

Co-authored-by: Jacqueline <[email protected]>
Co-authored-by: Mallik <[email protected]>

* 👨🏻‍🦱 Add id to subcategory and refactor everything (#432)

* Add id to subcategory and refactor everything

* whoops

* Delete console logs

* wat

* Add comment on sorting

* 🐘 Translation table (#431)

* Create translation validation table

* Make component for status tag

* Add custom component for priority icon

* Fix colors

* Add all files

* 🦕 Edit translations page (#426)

* adding new page edittranslaitons

* adding private route

* fixed grids and css for edit translations page

* stash

* hopefully fixed foot and spacing

* looking nice

* fixing spelling

Co-authored-by: Jacqueline Osborn <[email protected]>

* 🌒 Set up translation verification backend (#433)

* Add id to subcategory and refactor everything

* whoops

* Delete console logs

* wat

* Add endpoint for table info

* Add files

* Slightly change endpoint

* Add langauge param

* Finish specific translation

* Remove comments

* 🥻 Fix name not appearing for subcategories on verification table backend endpoint (#440)

* ⛴️ Add script used to bulk add verified translation documents (#441)

* add all the stuff

* Change api url back

* Add new file

* 🚴🏾‍♀️ Add endpoint to report error (#442)

* Add endpoint to report error

* Remove unused variable

* ⛽ Add address autofill bar (#427)

* boilerplate stuff

* formatting

* formatting again

* search bar works

* moving

* stays put

* lint

* bounding box and state

* rename

Co-authored-by: Feeshay <[email protected]>

* 🍄 Pop up message for edit translations (#439)

* adding new page edittranslaitons

* adding private route

* fixed grids and css for edit translations page

* stash

* hopefully fixed foot and spacing

* looking nice

* fixing spelling

* adding translation form row component

* Remove space

Co-authored-by: Jacqueline <[email protected]>

* 🦸🏾 Ensure one category can be open at a time in resource manager (#444)

* temp

* Finish

* remove log

* 🏃‍♀️ Show resources in verification table (#445)

* Show resources in verification table

* Edit keys and translation links

* 🚉 Increase font sizes and fixed various css bugs (#425)

- Increases font sizes for the resources page
- Fixes padding / spacing for 'language switching' on the navigation bar
- Fixes spacing between icon and text in 'Save' and 'Share' buttons
- Fixes resource information overflow (issue #322)

* 🗾 Integrate mapview list and modal into map tab (#446)

* Display modal on mapview and enable close functionality

* Resolve Jackie's comments on my PR

Co-authored-by: Mallik <[email protected]>
Co-authored-by: Jacqueline Osborn <[email protected]>

* 🧑🏼‍🤝‍🧑🏽 Display resource markers and implement zoom functionality (#452)

* Display modal on mapview and enable close functionality

* Resolve Jackie's comments on my PR

* Set up resource markers and mapview zoom

* Tie together current location and resource list

Co-authored-by: Mallik <[email protected]>
Co-authored-by: Jacqueline <[email protected]>

* 🍧 Make rows of unverified text to translate (#449)

* adding new page edittranslaitons

* adding private route

* fixed grids and css for edit translations page

* stash

* hopefully fixed foot and spacing

* looking nice

* fixing spelling

* adding translation form row component

* added text to translate endpoint

* making rows

* making rowss

* now the language matches with the text to translate

* fixing lint errors

* Update EditTranslations.jsx

* Update TranslationFormRow.jsx

* Update EditTranslations.jsx

* fixing lint errors

Co-authored-by: Jacqueline Osborn <[email protected]>

* 👨‍🔧 Add checkbox progress bar logic (#453)

* Add checkbox progress bar logic

* Add on submit

* correcting logic

* 🍿 Add translation popup component (#443)

* looks like it works kinda

* pull

* formatting

* change a to button

* error request

* mobile

* null type

Co-authored-by: Feeshay <[email protected]>
Co-authored-by: Jacqueline <[email protected]>

* 🍾 Implement submission of translation form (#455)

* Add stuff

* Remove console log

* 🤏🏽 Add export CSV button (#451)

* added initial resource breadcrumb

* fixing links and linting

* linting

* fixing bugs

* sorry jackie

* 🗾 Add filtering to mapview and implement buttons on mapview modal (#456)

* All stuff

* Remove logs

* 🎅🏿 Add nawc volunteer role (#458)

* Add new role, remove intern role

* Add new file

* 🚀 Improve code resilience (#460)

* 👖 Improve testing (#462)

* 👩🏽‍🦰 Bump emojify (#463)

* 🗓️ Add last updated column to management table

Co-authored-by: Feeshay <[email protected]>

* 📅 Add last updated to resource detail page (#474)

* this was a lot more work than I expected

* comment

* div

Co-authored-by: Feeshay <[email protected]>

* 🐃 New Resource Preview v2 (#477)

Redesigned resource cards to be more condensed

Co-authored-by: Neha Konjeti <[email protected]>
Co-authored-by: ayanmallik <[email protected]>
Co-authored-by: Michael Chen <[email protected]>
Co-authored-by: Luciana <[email protected]>
Co-authored-by: Neeraj Aggarwal <[email protected]>
Co-authored-by: Lam Tran <[email protected]>
Co-authored-by: Feeshay <[email protected]>
Co-authored-by: Luciana Toledo-Lopez <[email protected]>
Co-authored-by: Mallik <[email protected]>
jackieo5023 added a commit that referenced this pull request Dec 3, 2021
* 🙎‍♂️ Change staging urls (#320)

* 🧗🏼‍♀️ Improve home page load times

* Replace nawc.now.sh api URIs with staging URI

* 💪 Add Neha to team on readme (#325)

* 🚴 Add Ayan to README.md (#326)

* Add Neha to team on readme

* Add Ayan to README.md

* Replace picture of Neha with Ayan

Co-authored-by: nehakonjeti <[email protected]>

* 🧶 Add FormatJS (#323)

* Adding Format JS

* 👩 ‍Add Luciana to readme (#327)

* Add Neha to team on readme

* Add Ayan to README.md

* Replace picture of Neha with Ayan

* adding luciana to readme

Co-authored-by: nehakonjeti <[email protected]>
Co-authored-by: ayanmallik <[email protected]>

* 🤿 Add license scan (#319)

* 👱‍♂️ Add Lam to README.md (#332)

* 🧛 Force absolute URL for resource website (#333)

* 🔧 Downgrade mapbox to fix known error (#335)

* ope

* Downgrad react-mapbox-gl and remove bootstrap

* Add bootstrap back in

* 📄 Create translation model and basic API (#334)

* model, api

* format

* i dont think the formatting did anything

* equals

* formatting

* index stuff

* put

* added api calls

* models

* added null return for null langauge request

* 201

* nits

* didnt add

Co-authored-by: Feeshay <[email protected]>
Co-authored-by: Luciana Toledo-Lopez <[email protected]>

* ⚡ Create endpoints for editing categories (#336)

* Create endpoints for editing categories

* Update endpoints after dev night with Neha

* Add subcategory endpoints

* Resolve Jackie's comments and fix linting errors

* Fix rename category function

Co-authored-by: Mallik <[email protected]>
Co-authored-by: nehakonjeti <[email protected]>

* 🤵🏾 Change to bcryptjs (#347)

* 🥑 Add one one liner description to resource cards (#345)

* implemented the one-liner running into errors with resource.jsx

* correct staging url, one-line works now only massive ass cards

* Fix huge card issue

* adressed jackie's comments

Co-authored-by: Jacqueline <[email protected]>

* 🐞 Resolve various bugs (#349)

* committing

* Location capitalization

* Remove comments

* Add question mark to forgot password

* Optional chaining

* 👨 ‍Create admin portal page and tabs (#351)

* Understood codebase to modify tab layout

* Modify navbar and add tabs within Admin page

* Remove unneeded cypress tests

* Add header for resource form

* Modify tab name to reflect add/edit resource

Co-authored-by: Jacqueline Osborn <[email protected]>

* ✊🏾 Greatly improve emojify bot (#358)

* 🔞 Internationalize App/Homepage (#341)

* very basic example

* BACKEND WORKS

* a bunch of translation crap

* locale dict

* mobile

* linting

Co-authored-by: Feeshay <[email protected]>
Co-authored-by: Neeraj Aggarwal <[email protected]>

* 🌎 Translate text and store in database (#354)

* Set up initial script

* Add steps

* Get resource description translations and store in db

* Edit post request body to google translate

* Remove body from translate request and fix saving translations

* Use script for translating descriptions to spanish, french, and chinese

* Remove comments

* Delete console.logs

Co-authored-by: Jacqueline <[email protected]>

* 🧑🏾‍⚕️ Modal for Add/Delete/Rename Category (#360)

* Create component for modal and add to page

* Add modal component

* Add switch statements

* Add icons and switch statements

* Fix lint errors

* Change name of modal component

* Add EditCategoryModal

* 🙅🏼‍♂️ Create menu sidebar for modifying categories (#359)

* Style menu sidebar according to Figma

* Feed sidebar with real categories

* Color close icon to be red

* 🇺🇳 Add Language dropdown menu to navbar (#355)

* adding languages dropdown, running into errors w react

* fixed errors

* added language dropdown, globe isnt appearing

* globe working now

* miniscule css change

* fixed lint message

* adding globe.svg

* add globe svg

* fixing merge errors

* added french and chinese language switching

* using onSelect now

Co-authored-by: Jacqueline Osborn <[email protected]>
Co-authored-by: lucianatl <Csc3maat>
Co-authored-by: Neeraj Aggarwal <[email protected]>

* 🔏 Fix a codeql security warning (#366)

* 🏃🏼‍♂️ Fix city null error (#369)

* 👨🏻‍💻 Set up FormatJS for resource filters (#370)

* Set up FormatJS for resource filters

* Remove console logs

* 👨🏿‍🦼 Translate resource on add and edit (#364)

* Create component for modal and add to page

* Add modal component

* Add switch statements

* Add icons and switch statements

* Fix lint errors

* Change name of modal component

* Add EditCategoryModal

* Edit endpoint for creating resource

* Translate for add  ing and editing resource

* Delete unused function call

* Fix object keys loop

* Add google vercel secret

Co-authored-by: Jacqueline Osborn <[email protected]>

* 🐜 Add antd ConfigProvider (#365)

* 👷🏾‍♂️ Finish functionality of sidebar (#368)

* Modify sidebar to contain buttons for adding categories

* Fix icon styling and implement arrow animation

Co-authored-by: Neeraj Aggarwal <[email protected]>

* 🥬 Add Format.js to Login.jsx and Register.jsx (#371)

* fixed errors

* addressing jackies comments

* fixing lint error

* wrapping security questions

* fixing security question key

* 🏙️ Fix home css for translations (#372)

* 🏌️‍♂️ Store language selection (#375)

* ✨ Complete conversion to FormatJS on resources page (#374)

* Complete conversion to FormatJS on resources page

* Get rid of eslint disable

* Do navbar

* 🏄🏻 Add FormatJS to resource detail page (#384)

* ✂️ Add modal functionality for sidebar (#367)

* Add modals to ResourceManager

* Implement functionality for subcategory modals

* Add flexibility for categories

* Fix rename function

* Fix rename subcategory but delete doesn't work

* Fix refresh for rename

* Implement functionality of modal buttons

* Update base url

* Edit subcategory key

* ??

Co-authored-by: Mallik <[email protected]>
Co-authored-by: Jacqueline <[email protected]>

* 🪑 Create table to manage resources (#361)

* table

* route

* colors

* now in color

* misc bugs

* fix link

* cleanup

* naming

* filtering

* debug

* small edge case

Co-authored-by: Feeshay <[email protected]>

* 🧔🏻 Sync table when editing categories (#385)

* Sync table when editing categories

* Use original url

* 🚣🏿‍♀️ Add link to resource form message (#391)

* Add link to resource form message

* Make message shorter

* 👩🏿‍🌾 Change resource filtering to backend (#390)

Co-authored-by: Neeraj Aggarwal <[email protected]>

* 🖊️ Add endpoint to edit resource categories (#395)

* tested and it works

* frontend api

Co-authored-by: Feeshay <[email protected]>

* ♥️ Use FormatJS on the rest of the site (#401)

* 🙋🏼 Use antd List for resource grid (#402)

* 🗾 Create frontend display for map view modal (#396)

* Flesh out grid structure within Resource Modal

* Style map view modal to match Figma design

* Remove map view modal from admin portal

Co-authored-by: Mallik <[email protected]>
Co-authored-by: Jacqueline Osborn <[email protected]>

* 📱 Mobile language switching menu (#403)

* adding submenu for language switching

* adding switching capabilities

* no more oonClick :(

* languages-> language currently being used

Co-authored-by: Jacqueline Osborn <[email protected]>

* ✏️ Add functionality to edit resource categories (#408)

* uhhhhh

* ummmmm

* add button

* remove console log

* setup editing

* colors

* works

* testing

* multiple-edit-categories

* await the things

* Fix

* stray comment

Co-authored-by: Feeshay <[email protected]>
Co-authored-by: Jacqueline <[email protected]>

* 🐢 Finalize translation API (#409)

* Delete category when deleting subcategory

* aaaa

* Finish create edit delete

* oop

* Change back url

* Remove console log

Co-authored-by: Neeraj Aggarwal <[email protected]>

* 💆 Display languages in their respective language (#411)

* stuff

* Add file

* Edit home spellcheck

* 👩🏼‍🦳 Bump emojify pr (#413)

* 🌐 Add backend pagination (#400)

* Change filtering to backend

* Include size and limit in aggregation

* Save changes

* Add totalData to res everywhere

* Change to nawc staging base url

* Alter test for totalData

* Change undefined to null

* Change how aggregation is defined

* Change base url

* Delete console.log

* Change back base url to staging

* Delete unnecessary comment

Co-authored-by: Jacqueline <[email protected]>

* 👋🏽 Change resource grid responsive numbers (#415)

* ⛲ ️ Translations page (#407)

* added translation to navabr potentnionally idk i don't have admin access

* adding translations link to navbar posssibly

* added translations page file and router in app.js

* adding translations.jsx

* adding Translations.css

* did i finally add the css file

* fixed css naming and got rid of admin resource stuff in Tranlsations.jsx

* ⚒️ Enable scroll on login and register (#418)

* 🧑‍🎨 Flesh out design of mapview entry (#410)

* Structure contents within map view entry

* Finish look of map view entry

* Bold key information within map view entry

* Refactor style sheet and left align contents

* Change selected prop type

* Remove outdated tests with homepage

* 🔄 Add tabs to switch between grid and map resource views (#420)

* need to fix styling

* no stick

* padding

* card tabs

* here you go

* margin

Co-authored-by: Feeshay <[email protected]>
Co-authored-by: Neeraj Aggarwal <[email protected]>

* 🙌🏼 Create testimonial model (#428)

* 👐🏽 Set up pagination in frontend (#414)

* Set up pagination in frontend

* Add size changer to pagination

* Fixed pagination

* Remove console logs

* Change to staging base url

* Change total count to 0

* Add pagination to save resources

* 🖱️ Create base backend for nearest resources (#421)

* Sadge

* ah

* Finalize geolocation stuff

* Clean up

* Add files

* Reset page number on filter change

* 🗾 Display nearby resources on mapview list (#430)

* Sadge

* ah

* Finalize geolocation stuff

* Clean up

* Add files

* Fetch nearest resources and pipe them into mapview entry

* Change cursor to pointer when hovering

* Resolve Jackie's comments on PR

* Remove testing tab from resource manager

Co-authored-by: Jacqueline <[email protected]>
Co-authored-by: Mallik <[email protected]>

* 👨🏻‍🦱 Add id to subcategory and refactor everything (#432)

* Add id to subcategory and refactor everything

* whoops

* Delete console logs

* wat

* Add comment on sorting

* 🐘 Translation table (#431)

* Create translation validation table

* Make component for status tag

* Add custom component for priority icon

* Fix colors

* Add all files

* 🦕 Edit translations page (#426)

* adding new page edittranslaitons

* adding private route

* fixed grids and css for edit translations page

* stash

* hopefully fixed foot and spacing

* looking nice

* fixing spelling

Co-authored-by: Jacqueline Osborn <[email protected]>

* 🌒 Set up translation verification backend (#433)

* Add id to subcategory and refactor everything

* whoops

* Delete console logs

* wat

* Add endpoint for table info

* Add files

* Slightly change endpoint

* Add langauge param

* Finish specific translation

* Remove comments

* 🥻 Fix name not appearing for subcategories on verification table backend endpoint (#440)

* ⛴️ Add script used to bulk add verified translation documents (#441)

* add all the stuff

* Change api url back

* Add new file

* 🚴🏾‍♀️ Add endpoint to report error (#442)

* Add endpoint to report error

* Remove unused variable

* ⛽ Add address autofill bar (#427)

* boilerplate stuff

* formatting

* formatting again

* search bar works

* moving

* stays put

* lint

* bounding box and state

* rename

Co-authored-by: Feeshay <[email protected]>

* 🍄 Pop up message for edit translations (#439)

* adding new page edittranslaitons

* adding private route

* fixed grids and css for edit translations page

* stash

* hopefully fixed foot and spacing

* looking nice

* fixing spelling

* adding translation form row component

* Remove space

Co-authored-by: Jacqueline <[email protected]>

* 🦸🏾 Ensure one category can be open at a time in resource manager (#444)

* temp

* Finish

* remove log

* 🏃‍♀️ Show resources in verification table (#445)

* Show resources in verification table

* Edit keys and translation links

* 🚉 Increase font sizes and fixed various css bugs (#425)

- Increases font sizes for the resources page
- Fixes padding / spacing for 'language switching' on the navigation bar
- Fixes spacing between icon and text in 'Save' and 'Share' buttons
- Fixes resource information overflow (issue #322)

* 🗾 Integrate mapview list and modal into map tab (#446)

* Display modal on mapview and enable close functionality

* Resolve Jackie's comments on my PR

Co-authored-by: Mallik <[email protected]>
Co-authored-by: Jacqueline Osborn <[email protected]>

* 🧑🏼‍🤝‍🧑🏽 Display resource markers and implement zoom functionality (#452)

* Display modal on mapview and enable close functionality

* Resolve Jackie's comments on my PR

* Set up resource markers and mapview zoom

* Tie together current location and resource list

Co-authored-by: Mallik <[email protected]>
Co-authored-by: Jacqueline <[email protected]>

* 🍧 Make rows of unverified text to translate (#449)

* adding new page edittranslaitons

* adding private route

* fixed grids and css for edit translations page

* stash

* hopefully fixed foot and spacing

* looking nice

* fixing spelling

* adding translation form row component

* added text to translate endpoint

* making rows

* making rowss

* now the language matches with the text to translate

* fixing lint errors

* Update EditTranslations.jsx

* Update TranslationFormRow.jsx

* Update EditTranslations.jsx

* fixing lint errors

Co-authored-by: Jacqueline Osborn <[email protected]>

* 👨‍🔧 Add checkbox progress bar logic (#453)

* Add checkbox progress bar logic

* Add on submit

* correcting logic

* 🍿 Add translation popup component (#443)

* looks like it works kinda

* pull

* formatting

* change a to button

* error request

* mobile

* null type

Co-authored-by: Feeshay <[email protected]>
Co-authored-by: Jacqueline <[email protected]>

* 🍾 Implement submission of translation form (#455)

* Add stuff

* Remove console log

* 🤏🏽 Add export CSV button (#451)

* added initial resource breadcrumb

* fixing links and linting

* linting

* fixing bugs

* sorry jackie

* 🗾 Add filtering to mapview and implement buttons on mapview modal (#456)

* All stuff

* Remove logs

* 🎅🏿 Add nawc volunteer role (#458)

* Add new role, remove intern role

* Add new file

* 🚀 Improve code resilience (#460)

* 👖 Improve testing (#462)

* 👩🏽‍🦰 Bump emojify (#463)

* 🗓️ Add last updated column to management table

Co-authored-by: Feeshay <[email protected]>

* 📅 Add last updated to resource detail page (#474)

* this was a lot more work than I expected

* comment

* div

Co-authored-by: Feeshay <[email protected]>

* 🐃 New Resource Preview v2 (#477)

Redesigned resource cards to be more condensed

* 🦸‍♀️ Fix edit resource button

Co-authored-by: Neha Konjeti <[email protected]>
Co-authored-by: ayanmallik <[email protected]>
Co-authored-by: Michael Chen <[email protected]>
Co-authored-by: Luciana <[email protected]>
Co-authored-by: Neeraj Aggarwal <[email protected]>
Co-authored-by: Lam Tran <[email protected]>
Co-authored-by: Feeshay <[email protected]>
Co-authored-by: Luciana Toledo-Lopez <[email protected]>
Co-authored-by: Mallik <[email protected]>
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.

Add last updated indicator to resource detail
2 participants