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

Miha phs 37 #36

Merged
merged 31 commits into from
Mar 16, 2024
Merged

Miha phs 37 #36

merged 31 commits into from
Mar 16, 2024

Conversation

miha-bhaskaran
Copy link
Collaborator

✨ New in this PR ✨

One liner: what did you do? 🛠

Made email collection popup functional so when a user inputs an email the emails supabase table gets updated and is reflected on retool as well.

Coverage 🙆‍♀️

use this section to break up your task into submodules and track progress, copy from Linear and mark what was completed

  • [DONE ] Create a table on supabase called “emails”
  • [DONE] Insert a row into that table every time the user clicks submit on the popup
  • [DONE] Make/add a table in Retool and populate it with the data that gets added to the Supabase

How can the reviewer test your code? Where is this sprint located in the codebase? 👩‍💻

Code is in components/emailpopup/page.tsx [edited lines 53-59]

REQUIRED: Link a short video demo of the feature you have added. 👩‍💻

Screen.Recording.2024-02-13.at.1.43.20.PM.mov

Any bugs you encountered or still having trouble with? 🐛

Resources 📔

REQUIREMENTS in this section: Link all relevant online resources and related PRs. Write down any new dependencies or packages and link to their documentation. If you ran into bugs, link any stack overflow or online resources that helped you unblock yourself

Related to email collection popup sprints

❗IF this sprint was marked as FRONTEND on linear, cc Claire Wang

REMEMBER: once PR is made, also request a PR review Sarah, CC'ing is NOT enough!
🏚 cc: @sarahhpeng @andreisito

Copy link

linear bot commented Feb 13, 2024

christophertorres1 and others added 18 commits February 25, 2024 15:59
* feat: add buttons for navigating images

* add image carousel to tour displays
* styling ok on phones

* updated types

* fixed global styling

* config fix

* feat: Global styling + Welcome graphic on home screen

* feat: basic frontend for spotlight carousel

* feat: basic visitor resources buttons

* feat: routing from home page buttons added, WIP: bugs with rpc function

* chore: added docs to pages

* fix: changed styling for other phone screens

* rpc functions added

* feat: rpc function added to media spotlights on home page

* chore: commented out related spotlight for now

* style: changed div styling to meet tailwind conventions + base styling

* chore: extra changes from supabase types sync

* chore: removed console logs

* chore: prettier script

* chore: supabase types changed again

* fix: incorrect function call + extra console log removed

* style: fixing the spacing on the visitor resources buttons

* chore: supabase sync

* chore: comment fix

* feat: fixed some styling, added routing to the wildlife carousel

* chore: supabase sync

* feat: updated to match RPC DB func changes

* chore: removed unnecessary useEffect

* chore: removed imports

---------

Co-authored-by: sarahhpeng <[email protected]>
@sarahhpeng sarahhpeng merged commit 9c4bd47 into main Mar 16, 2024
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.

4 participants