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

Subject array display And Implementation #27

Merged
merged 17 commits into from
Apr 22, 2024

Conversation

gerzarko
Copy link
Contributor

Subject store as an array in supabase, make filters works for this subject and display the array in the different views. Also fix UI type problems but still some errors in that file

Copy link
Contributor

Choose a reason for hiding this comment

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

Need to update the productCategories forEach here

Copy link
Contributor

Choose a reason for hiding this comment

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

See Suggestions

src/components/posts/ClientViewProviderPosts.tsx Outdated Show resolved Hide resolved
data?.map(async (item) => {
productCategories.forEach((productCategories) => {
if (item.product_subject.toString() === productCategories.id) {
item.subject = productCategories.name;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
item.subject = productCategories.name;

src/components/posts/ClientViewProviderPosts.tsx Outdated Show resolved Hide resolved
src/components/posts/ClientViewProviderPosts.tsx Outdated Show resolved Hide resolved
src/components/posts/ClientViewProviderPosts.tsx Outdated Show resolved Hide resolved
signal-desktop-keyring.gpg Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

This is still using the subjects directly from the database. Please refactor to reference the language files.

gerzarko and others added 7 commits April 18, 2024 16:44
Co-authored-by: r-southworth <105446541+r-southworth@users.noreply.github.com>
Co-authored-by: r-southworth <105446541+r-southworth@users.noreply.github.com>
Co-authored-by: r-southworth <105446541+r-southworth@users.noreply.github.com>
Co-authored-by: r-southworth <105446541+r-southworth@users.noreply.github.com>
@r-southworth r-southworth merged commit ccfe6ae into datagrove:main Apr 22, 2024
1 check passed
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