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

chore(web): list field #687

Merged
merged 24 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
143cce8
List field - basic
jashanbhullar Sep 12, 2023
73c1617
- Translations
jashanbhullar Sep 13, 2023
0256bde
Merge branch 'main' of github.com:reearth/reearth into chore/web/list…
jashanbhullar Sep 13, 2023
158cfa3
export prop types in DragAndDrop
jashanbhullar Sep 13, 2023
67536aa
- List field component UI ready
jashanbhullar Sep 13, 2023
9ecdb34
- Minor changes
jashanbhullar Sep 13, 2023
cf56e07
- Minor changes
jashanbhullar Sep 13, 2023
7761d93
Merge branch 'main' of github.com:reearth/reearth into chore/web/list…
jashanbhullar Sep 18, 2023
d1638b3
- Minor styling fixes
jashanbhullar Sep 18, 2023
a1322f6
- idk man, sounds about right
jashanbhullar Sep 18, 2023
8580cb9
- idk man, it works
jashanbhullar Sep 19, 2023
5712d2c
- added some todos
jashanbhullar Sep 19, 2023
9af3f06
- List field updated
jashanbhullar Sep 20, 2023
092b379
- added hooks for the list field
jashanbhullar Sep 20, 2023
96437cf
- removed files and reverted some unintended changes
jashanbhullar Sep 25, 2023
aaeb31d
- just removed a comment
jashanbhullar Sep 25, 2023
0489b19
- slider field to have a default step
jashanbhullar Sep 25, 2023
4a8b804
- refactord code
jashanbhullar Sep 25, 2023
d92477c
Merge branch 'main' of github.com:reearth/reearth into chore/web/list…
jashanbhullar Sep 25, 2023
734c2cc
- add default value logic (was removed in the prevous merge)
jashanbhullar Sep 25, 2023
21bf74a
- Handle NaN in the number field
jashanbhullar Sep 25, 2023
cd6987a
- triple equal to
jashanbhullar Sep 26, 2023
6abc8e9
Merge branch 'main' of github.com:reearth/reearth into chore/web/list…
jashanbhullar Sep 26, 2023
e9ac366
- setting undefined throws controlled/uncontrolled input error
jashanbhullar Sep 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion web/src/beta/components/DragAndDropList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { styled } from "@reearth/services/theme";

import Item from "./Item";

type Props<Item extends { id: string } = { id: string }> = {
export type Props<Item extends { id: string } = { id: string }> = {
uniqueKey: string;
items: Item[];
getId: (item: Item) => string;
Expand Down