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

Create Submit Page #299

Merged
merged 2 commits into from
Dec 5, 2023
Merged

Create Submit Page #299

merged 2 commits into from
Dec 5, 2023

Conversation

theyokohamalife
Copy link
Contributor

@theyokohamalife theyokohamalife commented Dec 5, 2023

Creates a Submit page with form that will eventually allow users to submit a healthcare professional to the platform. For now, it just console logs the submission until work is completed on the backend to add additional locales.

Screenshot

Screenshot 2023-12-06 at 12 29 59 AM

Copy link

netlify bot commented Dec 5, 2023

Deploy Preview for findadoc failed.

Name Link
🔨 Latest commit 518509b
🔍 Latest deploy log https://app.netlify.com/sites/findadoc/deploys/656f41ee11d0320008d55216

@theyokohamalife theyokohamalife marked this pull request as ready for review December 5, 2023 13:46
Co-authored-by: Anissa Chadouli <[email protected]>
@theyokohamalife theyokohamalife force-pushed the feat/create-submit-page branch from 3ac3483 to c643649 Compare December 5, 2023 13:55
>{{ $t('submitPage.googleMaps')}}</span>
<input
type="text"
class="mb-5 px-3 py-3.5 w-[350px] h-[50px] bg-white rounded-lg border border-zinc-400 text-neutral-600 text-sm font-normal font-['Noto Sans JP']"
Copy link
Contributor

Choose a reason for hiding this comment

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

the fixed widths likely wont work for all phone sizes and should be dynamic based on screen size (em/rem). For MVP this is ok, but we should fix it later

import { defineStore } from "pinia";

export const useSubmissionStore = defineStore('submissionStore', {
state: () => ({
Copy link
Contributor

Choose a reason for hiding this comment

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

let's update this to use composition api instead of options api

@theyokohamalife theyokohamalife force-pushed the feat/create-submit-page branch from c643649 to f7fc345 Compare December 5, 2023 15:28
Co-authored-by: Anissa Chadouli <[email protected]>
Co-authored-by: Philip Ermish <[email protected]>
@theyokohamalife theyokohamalife force-pushed the feat/create-submit-page branch from f7fc345 to 518509b Compare December 5, 2023 15:29
Copy link
Contributor

@ermish ermish left a comment

Choose a reason for hiding this comment

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

LGTM!!!

@ermish ermish merged commit ca54c00 into main Dec 5, 2023
4 of 8 checks passed
@ermish ermish deleted the feat/create-submit-page branch December 5, 2023 15:31
ermish added a commit that referenced this pull request Dec 6, 2023
* feat: create Submit Page

Co-authored-by: Anissa Chadouli <[email protected]>

* feat: create submission store

Co-authored-by: Anissa Chadouli <[email protected]>
Co-authored-by: Philip Ermish <[email protected]>

---------

Co-authored-by: Anissa Chadouli <[email protected]>
Co-authored-by: Philip Ermish <[email protected]>
ermish added a commit that referenced this pull request Dec 6, 2023
* feat: create Submit Page

Co-authored-by: Anissa Chadouli <[email protected]>

* feat: create submission store

Co-authored-by: Anissa Chadouli <[email protected]>
Co-authored-by: Philip Ermish <[email protected]>

---------

Co-authored-by: Anissa Chadouli <[email protected]>
Co-authored-by: Philip Ermish <[email protected]>
ermish added a commit that referenced this pull request Dec 6, 2023
* added loader and apollo query

* updated locale store and search store

* Create Submit Page (#299)

* feat: create Submit Page

Co-authored-by: Anissa Chadouli <[email protected]>

* feat: create submission store

Co-authored-by: Anissa Chadouli <[email protected]>
Co-authored-by: Philip Ermish <[email protected]>

---------

Co-authored-by: Anissa Chadouli <[email protected]>
Co-authored-by: Philip Ermish <[email protected]>

* updated locale store and search store

* updated locales and topnav

* localization working

* made an english / japanese only locale

* apollo query works and loader

* localization working

* apollo query works and loader

* new color theme and ui fixes

* fix the submission page localization

* update submit page localization

* update Japanese localization

* update ja json

* remapped search results mappings. fixed query

* locale merge fix

* reset the submission form on mount

* create thank you page

* formatting

* built out search bar dropdown data

* search query works!!

* update submission store

* updating store need notes

* submission form is working

* results are working

* map fixes

* fix lat and lng

* fix missing fields in query and typos

* fixed empty query issues

* ui improvements

* fixed query for combo search

* removing old test

---------

Co-authored-by: LaShawn Toyoda <[email protected]>
Co-authored-by: Anissa Chadouli <[email protected]>
Co-authored-by: theyokohamalife <[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.

3 participants