Skip to content

Add social fields for international organizers #237

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

Merged
merged 1 commit into from
Mar 24, 2025

Conversation

alexsapps
Copy link
Collaborator

Looks like this:

image

@alexsapps alexsapps requested a review from jakehobbs March 19, 2025 23:17
<b-table-column v-slot="props">
<b-button @click="deleteOrganizer(props.row)">
<b-icon icon="delete" type="is-danger"></b-icon>
</b-button>
</b-table-column>
<template #detail="props">
<div style="display: flex; flex-wrap: wrap; gap: 10px">
Copy link
Member

Choose a reason for hiding this comment

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

nit: i feel like there's a lot of space here. maybe gap-x 10px and gap-y 5px would look a little nicer

Copy link
Member

Choose a reason for hiding this comment

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

just feels weird to me that there is more vertical space b/w these than there is b/w the "name email phone" fields and the top of this section.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

maxlength="100"
></b-input>
</b-field>
<b-field label="Instagram" label-position="on-border" style="max-width: 300px">
Copy link
Member

Choose a reason for hiding this comment

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

i wonder if we should do this style of labels for the "name email phone" fields too to keep it a bit more consistent?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the table already has a header row that labels the columns themselves so individual labels aren't really necessary in table cells. lmk if i'm missing something though. and max-width doesn't matter as much since the table already forces 3 textboxes to share one line so those elements are never too wide.

Facebook string
Instagram string
Twitter string
Website string
Copy link
Member

Choose a reason for hiding this comment

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

when reading organizers out of the db that don't already have these fields set in the json, i assume it will be fine and just return go's nil values (empty string)? my go is rusty....

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah i think so. i was able to add fields here after creating test organizers and they loaded fine.

@alexsapps alexsapps force-pushed the alex/webpack-watch branch from 8455fe8 to 8d69568 Compare March 23, 2025 22:44
Base automatically changed from alex/webpack-watch to main March 23, 2025 22:44
@alexsapps alexsapps force-pushed the alex/organizer-socials branch from d91db93 to e53363c Compare March 24, 2025 00:07
@alexsapps alexsapps merged commit b1e48b0 into main Mar 24, 2025
1 check passed
@alexsapps alexsapps deleted the alex/organizer-socials branch March 24, 2025 00:09
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.

2 participants