Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
README.md
Outdated
| npm run model:generate | ||
| ``` | ||
| > [!NOTE] | ||
| > The `VITE_MANAGEMENT_API_KEY` variable inside .env file must be set to generate models properly. |
There was a problem hiding this comment.
And VITE_ENVIRONMENT_ID as well it seems.
src/components/SolutionListItem.tsx
Outdated
| const SolutionList: React.FC = () => { | ||
| const { environmentId, apiKey } = useAppContext(); | ||
|
|
||
| const [solutions, setSolutions] = useState<Solution[] | null>(null); |
There was a problem hiding this comment.
The array type should be readonly as it is forbidden to modify anything inside a react state.
src/model/project/assetFolders.ts
Outdated
| * | ||
| * Project: Kontent.ai Kickstart | ||
| * Environment: Production | ||
| * Id: 133f5ef8-66b1-0074-7d42-55371447aac4 |
There was a problem hiding this comment.
Can we have it without the ids? I don't think they are helpful.
There was a problem hiding this comment.
It helped me once to figure out, that the provided environment dindn't had good relations set 🗡️
Other thing is I tried but new model generator doesn't have the option :/ only if i generate it to the memory and remove it with regex
src/model/project/taxonomies.ts
Outdated
| externalId: undefined, | ||
| name: "Workshop", | ||
| codename: "workshop", | ||
| id: "707bb142-f7d5-574a-b0ba-63037c412d84", |
There was a problem hiding this comment.
Same here, the ids are gonna be different for every project.
Motivation
Which issue does this fix? Fixes #
issue numberIf no issue exists, what is the fix or new feature? Were there any reasons to fix/implement things that are not obvious?
Checklist
How to test
If manual testing is required, what are the steps?