Skip to content

chore: convert text to venue#168

Open
amanuela97 wants to merge 8 commits intobetafrom
textToVenue
Open

chore: convert text to venue#168
amanuela97 wants to merge 8 commits intobetafrom
textToVenue

Conversation

@amanuela97
Copy link
Contributor

@amanuela97 amanuela97 commented Feb 11, 2022

As a Developer I need a function getVenueFromText(input): Venue so that I can implement #143 and #101

It should return existing venue from venues collection (find by place_id) or add new one.

Examples of input:

  • "Marienplatz"
  • "Marienplatz, Munich"
console.log(getVenueFromText('Marienplatz')) 

should output this object:

Return:

{
  name: suggestion.name,
  id: suggestion.place_id,
  rooms: '',
  map: '',
  address: suggestion.value,
  createdAt: Date.now(),
}

Closes #158

Demo: https://wedance-amanuela97.netlify.app/demo/venueFromText/

larrycoal and others added 4 commits February 8, 2022 22:59
* integration of prettier tailwindcss plugin
* reformat codebase

Co-authored-by: Aleksey Razbakov <aleksey@razbakov.com>
Copy link
Contributor

@razbakov razbakov left a comment

Choose a reason for hiding this comment

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

Is it working?

@amanuela97 amanuela97 requested review from blacksaru and razbakov March 1, 2022 20:32
@amanuela97 amanuela97 force-pushed the textToVenue branch 6 times, most recently from f3e695a to f4b47bc Compare March 4, 2022 14:29
@razbakov razbakov force-pushed the beta branch 2 times, most recently from b04c682 to 057d70e Compare February 13, 2024 20:19
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