Compare commits
174 Commits
develop/cm
...
develop/tr
Author | SHA1 | Date | |
---|---|---|---|
![]() |
975a528b49 | ||
![]() |
749fef7e28 | ||
![]() |
cf34833d42 | ||
![]() |
7bb45316af | ||
![]() |
02771185af | ||
![]() |
cf70e2af21 | ||
![]() |
1a77c3a5e8 | ||
![]() |
af446aed59 | ||
![]() |
c7f1f544ec | ||
![]() |
99ee2f9fc3 | ||
![]() |
a4cdb4b1cc | ||
![]() |
b35b77557e | ||
![]() |
6842459499 | ||
![]() |
ba7682e7cb | ||
![]() |
1003fa699c | ||
![]() |
ec12ca3bdf | ||
![]() |
7ece1c814b | ||
![]() |
39a7d32fcd | ||
![]() |
85d1ecdc90 | ||
![]() |
b26e1ff167 | ||
![]() |
de415a37bc | ||
![]() |
01a8d2ca02 | ||
![]() |
e5b136b8b5 | ||
![]() |
031dbed6a9 | ||
![]() |
f20dfa00c2 | ||
![]() |
24c91cb6f0 | ||
![]() |
abca91c26a | ||
![]() |
3321eafffa | ||
![]() |
adc9275d3f | ||
![]() |
60eed00cb2 | ||
![]() |
c29ab4b920 | ||
![]() |
9d46de56c3 | ||
![]() |
3f9d88e733 | ||
![]() |
6e576919ab | ||
![]() |
9739583f43 | ||
![]() |
bc1ec72df1 | ||
![]() |
e62dc5f597 | ||
![]() |
b5e9c8ba34 | ||
![]() |
9a8fd1c073 | ||
![]() |
25c1d3c917 | ||
![]() |
f435300740 | ||
![]() |
299567dd7c | ||
![]() |
fe1740d76f | ||
![]() |
f840f02daf | ||
![]() |
5640d4d4f6 | ||
![]() |
7105bc85e3 | ||
![]() |
61c10821b6 | ||
![]() |
ea3f99654d | ||
![]() |
30f494fc35 | ||
![]() |
367e58a8cf | ||
![]() |
99274b9c73 | ||
![]() |
51935d203a | ||
![]() |
9d3e832081 | ||
![]() |
4c72861eda | ||
![]() |
d0ea7e5452 | ||
![]() |
7d70b5826b | ||
![]() |
a00d1ee7ce | ||
![]() |
7296a10ec1 | ||
![]() |
957df690f4 | ||
![]() |
45d5c23512 | ||
![]() |
caa224cbb6 | ||
![]() |
9be92b41d1 | ||
![]() |
6e8fea3bdd | ||
![]() |
df87cfb037 | ||
![]() |
d73e5f9c22 | ||
![]() |
6884f1466f | ||
![]() |
d308131a8a | ||
![]() |
b3ebe8309a | ||
![]() |
fa35ef2bef | ||
![]() |
0785fcd144 | ||
![]() |
2dcc765072 | ||
![]() |
b8e8968866 | ||
![]() |
92040c6efb | ||
![]() |
a3d2ee57f7 | ||
![]() |
90835a7fe3 | ||
![]() |
ca2a9c235b | ||
![]() |
29b074f6dd | ||
![]() |
2f8acbbcdf | ||
![]() |
41a35b487a | ||
![]() |
7a33549a79 | ||
![]() |
d81b3e9a9e | ||
![]() |
da08798b10 | ||
![]() |
41cc82d54d | ||
![]() |
c8d184465a | ||
![]() |
adc04a1a40 | ||
![]() |
62da367589 | ||
![]() |
04ac1a8881 | ||
![]() |
dfd6ecc744 | ||
![]() |
69cb0718be | ||
![]() |
7dc7716f18 | ||
![]() |
633a1d3a4c | ||
![]() |
64b5f89fdf | ||
![]() |
f87dd2c3b1 | ||
![]() |
8b3dfe69e4 | ||
![]() |
375b0a3593 | ||
![]() |
bd907b4dde | ||
![]() |
73a2b2dfb9 | ||
![]() |
2f28d71060 | ||
![]() |
01ce517629 | ||
![]() |
033ca95dfe | ||
![]() |
0fa277c50e | ||
![]() |
e8ded0cb30 | ||
![]() |
cc6e40c9d0 | ||
![]() |
407d851b92 | ||
![]() |
0b38de74a2 | ||
![]() |
1c3dccd68e | ||
![]() |
26ef20ffd7 | ||
![]() |
f9c038fcad | ||
![]() |
aabf729dbf | ||
![]() |
374e3de59b | ||
![]() |
f4f4a0eb7c | ||
![]() |
7f3f02463f | ||
![]() |
e4aee3f02f | ||
![]() |
00a978e55a | ||
![]() |
ac7d3883fd | ||
![]() |
63ffbaacd6 | ||
![]() |
954a42aaa7 | ||
![]() |
8082afd711 | ||
![]() |
3e73668a3f | ||
![]() |
72bc7a67e2 | ||
![]() |
d2f9472743 | ||
![]() |
f65f6df660 | ||
![]() |
3679924a6a | ||
![]() |
5a746b3c3a | ||
![]() |
ba1c0f6897 | ||
![]() |
1349605d6e | ||
![]() |
790ec73e50 | ||
![]() |
0f90e0ae72 | ||
![]() |
b963a85cc6 | ||
![]() |
6b19656833 | ||
![]() |
700a32f7a5 | ||
![]() |
1c865595bf | ||
![]() |
2c20496a13 | ||
![]() |
0d554e70ee | ||
![]() |
ba2138275b | ||
![]() |
fe3835e7d3 | ||
![]() |
85ee8d848d | ||
![]() |
60a0cdc11d | ||
![]() |
50b69d3ce8 | ||
![]() |
e54293ad6e | ||
![]() |
eb94c3d596 | ||
![]() |
b1a7d9f7fa | ||
![]() |
4ae24008bb | ||
![]() |
cf1ec633cb | ||
![]() |
44abd70563 | ||
![]() |
be0ddc5323 | ||
![]() |
a05b1252be | ||
![]() |
03313dfc65 | ||
![]() |
d863d6d469 | ||
![]() |
243b3f1856 | ||
![]() |
785894f62b | ||
![]() |
5e046ff091 | ||
![]() |
ed0d058d04 | ||
![]() |
6b97358f50 | ||
![]() |
b45410ac0b | ||
![]() |
ef741e33ff | ||
![]() |
7c65222c47 | ||
![]() |
256f3ae8e3 | ||
![]() |
36cc5b9095 | ||
![]() |
c4c392b91b | ||
![]() |
eef9e5ebd8 | ||
![]() |
aa3ab32021 | ||
![]() |
e552ba1e4b | ||
![]() |
b322597138 | ||
![]() |
bca5a951c8 | ||
![]() |
0648bf5bfb | ||
![]() |
8bc4a37e8e | ||
![]() |
08e5677c0b | ||
![]() |
3569518c0b | ||
![]() |
62915f3384 | ||
![]() |
3408da17c2 | ||
![]() |
b4fed69da6 | ||
![]() |
9b39e82488 | ||
![]() |
7c63b9d0d9 |
9
.editorconfig
Normal file
@@ -0,0 +1,9 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
||||
* text=lf
|
14
.gitignore
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
.next
|
||||
node_modules
|
||||
005_references/
|
||||
_archive/
|
||||
|
||||
_del
|
||||
*.bak
|
||||
*.log
|
||||
*.del
|
||||
**/_del
|
||||
|
||||
**/volumes/**
|
||||
006_lab
|
||||
**/*.draft
|
10
.prettierrc
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"endOfLine": "lf",
|
||||
"printWidth": 120,
|
||||
"quoteProps": "consistent",
|
||||
"semi": true,
|
||||
"singleQuote": true,
|
||||
"tabWidth": 2,
|
||||
"trailingComma": "es5",
|
||||
"plugins": []
|
||||
}
|
12
.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"aflalo.dbml-formatter",
|
||||
"bierner.markdown-mermaid",
|
||||
"christian-kohler.path-intellisense",
|
||||
"esbenp.prettier-vscode",
|
||||
"humao.rest-client",
|
||||
"matt-meyers.vscode-dbml",
|
||||
"nicolas-liger.dbml-viewer",
|
||||
"yzhang.markdown-all-in-one"
|
||||
]
|
||||
}
|
21
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[javascriptreact]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[jsonc]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[typescript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[typescriptreact]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"workbench.iconTheme": "material-icon-theme",
|
||||
"workbench.colorTheme": "Default Dark Modern",
|
||||
"editor.formatOnSave": true,
|
||||
"git.ignoreLimitWarning": true
|
||||
}
|
25
000_AI_WORKSPACE/software-engineer/_examples/001_clone.md
Normal file
@@ -0,0 +1,25 @@
|
||||
this `tsx` file is clone from elsewhere, please understand, modify and update the content of `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/app/dashboard/teachers/view/[id]/page.tsx.draft` to handle `Teacher` record thanks, modify comments/variables/paths/functions name please
|
||||
|
||||
---
|
||||
|
||||
please review and update all tsx files in folder `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/db/Users` to make it handle `user` record thanks
|
||||
|
||||
---
|
||||
|
||||
<!-- read and understand @/_AI_WORKSPACE/greetings/001_greetings.md -->
|
||||
## clone source code from one type to another
|
||||
|
||||
please understand, modify and update the content of `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/components/dashboard/teacher/_GUIDELINES.md` to handle `Teacher` record thanks,
|
||||
modify comments/variables/paths/functions name please
|
||||
|
||||
---
|
||||
|
||||
please help to update the tsx files inside folder `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/components/dashboard/student` to handle the `student` record
|
||||
|
||||
## steps
|
||||
|
||||
- list all `tsx` files inside directory, remember the list
|
||||
- clone the original `<original>.tsx` files to `<original>.tsx.draft`
|
||||
- do all your modification within `<original>.tsx.draft` files, leave `original.tsx` unchange
|
||||
|
||||
---
|
@@ -0,0 +1,33 @@
|
||||
Hi, i need your help.
|
||||
|
||||
## task
|
||||
|
||||
i am working on a `dbml` file
|
||||
i got a `schema.json` which is exported from pocketbase
|
||||
and i want to update it to my current `dbml` file (one way process for documentation usage)
|
||||
|
||||
## Rules
|
||||
|
||||
- the collection from `json` file started with `_` can be ignored. they are system collection and should not appear in `dbml`
|
||||
- one collection from `json` file mapped with one table in `dbml` file
|
||||
- the `presentable` field from `json` file should be ignored.
|
||||
- the `id` of collection in `json` file should be jod down in the comment of `dbml` file as an reference.
|
||||
- you can find the comments in `schema.dbml` contains `pb_xxx` and that is the reference to the table in `schema.json` file.
|
||||
|
||||
## steps
|
||||
|
||||
- list the collection
|
||||
|
||||
## information
|
||||
|
||||
json file: `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/001_documentation/Requirements/REQ0006/schema.json`
|
||||
dbml file: `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/001_documentation/Requirements/REQ0006/schema.dbml`
|
||||
|
||||
## FAQ
|
||||
|
||||
1. 对于json中有但dbml中没有的表,应该如何处理? 添加为新表
|
||||
1. 是否需要保留dbml文件中现有的注释和关系定义? 完全保留
|
||||
1. 字段类型映射是否有特殊规则? 沒有
|
||||
1. please keep the existing comment
|
||||
|
||||
thanks
|
@@ -0,0 +1,11 @@
|
||||
# Greetings
|
||||
|
||||
Hi,
|
||||
Imaging you are a software engineer and i will send you the guideline.
|
||||
plesae read it, prepare yourself and i will tell you the task afterwards
|
||||
|
||||
please read and understand the markdown files in directory
|
||||
`/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/000_AI_WORKSPACE/software_engineer/greetings`,
|
||||
it provides background information of project i want you to help.
|
||||
|
||||
thanks
|
@@ -0,0 +1,32 @@
|
||||
# guideline
|
||||
|
||||
## principles
|
||||
|
||||
- at any time, please keep your answer, solution, explaination simple and short (K.I.S.S. or 大道至簡)
|
||||
- please divide the problem into small parts
|
||||
- if you found youself cannot understand the problem, please stop and ask how to do
|
||||
- if you found youself cannot solve the problem, plesae stop and ask how to do
|
||||
- review the whole solution before you reply to user
|
||||
- if code syntax is already there, do follow (e.g. naming convention, syntax) the existing code
|
||||
- no need to explain the reason until you are told to do so
|
||||
- no need to show me the code change, at the end just simple summary in point form is ok
|
||||
|
||||
## highlighted project directories and their meanings
|
||||
|
||||
- `_ignore_this_directory` please ignore this directory and any files inside it
|
||||
|
||||
- `001_documentation` documentation of this project
|
||||
- `002_source` source code of this project
|
||||
- `002_source/cms` home of Context management system of this project
|
||||
- use singular form for `src/components/dashboard` (e.g. `src/components/dashboard/student`)
|
||||
- use plural form for `src/app/dashboard` (e.g. `src/app/dashboard/students`)
|
||||
- `002_source/ionic_mobile` home of mobile client of this project
|
||||
- `002_source/pocketbase` home of pocketbase home directory this project
|
||||
- `003_test` e2e test of this project (not yet implemented)
|
||||
- `004_marketing` marketing page of this project (not yet implemented)
|
||||
- `005_references` opensource refence of this project
|
||||
- `006_lab` my test (POC) of this project
|
||||
- `README.md` Readme of this project
|
||||
- `TODO.md` todo list of this project
|
||||
|
||||
- if the directory contains `_GUIDELINES.md`, please read it before operation
|
@@ -0,0 +1,12 @@
|
||||
# Knowledgebase
|
||||
|
||||
you can answer the question with below knowledge:
|
||||
|
||||
## frameworks and stacks
|
||||
|
||||
- if code syntax is already there, do follow (e.g. naming convention, syntax) the existing code
|
||||
- make use of MCP `Context7` when you troubleshoot the problem with below topics:
|
||||
- [pocketbase javascript SDK](https://context7.com/pocketbase/js-sdk/llms.txt)
|
||||
- [DBML](https://context7.com/holistics/dbml/llms.txt)
|
||||
- [ionic framework](https://context7.com/ionic-team/ionic-framework/llms.txt)
|
||||
- [nextjs 14 app router](https://context7.com/nextjsargentina/next.js-docs/llms.txt)
|
22
000_AI_WORKSPACE/software-engineer/greetings/010_FAQ.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# FAQ
|
||||
|
||||
Q: where is `dbml` file ?
|
||||
A: dbml file located in `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/001_documentation/Requirements/REQ0006/schema.dbml`
|
||||
|
||||
Q: when file not found, do i need to search it in `_ignore_this_directory` ?
|
||||
A: No, you just stop there and voice out.
|
||||
|
||||
Q: Shall I assume the component is already exist ?
|
||||
A: yes, you can assume that
|
||||
|
||||
Q: Is `COL_USER_METAS` the collection for User related (e.g. `Teacher`, `Student`) collections?
|
||||
A: yes
|
||||
|
||||
Q: Shall I verify `import` or `types` when do modification job ?
|
||||
A: No, you just replace the name of the function, variables etc is ok. no need to check for dependencies thanks.
|
||||
|
||||
Q: how to list files with `.tsx.draft` extensions in `src/db/UserMetas` folder?
|
||||
A: using command like `find src/db/UserMetas -name "*.tsx.draft" -type f -ls` to list the files with `.tsx.draft` extendions only exist in `src/db/UserMetas`
|
||||
|
||||
Q: when user want to modify `.tsx.draft` file, do i need to take care the `.tsx` file as well?
|
||||
A: No, no don't need to, user will handle the remaining modifications. please restrict your modification in the mentioned file or directory only.
|
39
000_AI_WORKSPACE/software-engineer/greetings/013_DB.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# database and schemas
|
||||
|
||||
## getting started
|
||||
|
||||
Imagine there is a:
|
||||
|
||||
1. developer (provide the modification)
|
||||
2. QA engineer (provide the feedback, and testing)
|
||||
3. software engineer
|
||||
4. technical writer
|
||||
|
||||
they will:
|
||||
|
||||
- conclude and integrate the ideas from developer and QA engineer
|
||||
- make decision to modify the code accordingly.
|
||||
|
||||
## project background and initial setup
|
||||
|
||||
- **IMPORTANT**: No need to reply me what you are going on and your digest in this phase.
|
||||
No need to show me your code plan
|
||||
Just reply me "OK" when done
|
||||
|
||||
- base_dir=`/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project`
|
||||
|
||||
- `schema.dbml`
|
||||
- read `<base_dir>/001_documentation/Requirements/REQ0006/schema.dbml`
|
||||
this is file in `dbml` format stating the main database structure
|
||||
|
||||
- `schema.json`
|
||||
- read `<base_dir>/002_source/cms/src/db/schema.json`
|
||||
this is the file of current pocketbase schema
|
||||
|
||||
- look into the md files in folder `<base_dir>/002_source/ionic_mobile/_AI_WORKSPACE/001_guideline`
|
||||
|
||||
- if the directory user provided contins `_GUIDELINES.md`, please read the file
|
||||
|
||||
- read the files, remember and link up the ideas in file stated above, i will tell them the task afterwards
|
||||
|
||||
- please review at least 3 times after you modified the code
|
21
000_AI_WORKSPACE/testing-engineer/_examples/001_clone.md
Normal file
@@ -0,0 +1,21 @@
|
||||
please review and update all tsx files in folder `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/db/Users` to make it handle `user` record thanks
|
||||
|
||||
---
|
||||
|
||||
<!-- read and understand @/_AI_WORKSPACE/greetings/001_greetings.md -->
|
||||
## clone source code from one type to another
|
||||
|
||||
please understand, modify and update the content of `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/components/dashboard/teacher/_GUIDELINES.md` to handle `Teacher` record thanks,
|
||||
modify comments/variables/paths/functions name please
|
||||
|
||||
---
|
||||
|
||||
please help to update the tsx files inside folder `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/components/dashboard/student` to handle the `student` record
|
||||
|
||||
## steps
|
||||
|
||||
- list all `tsx` files inside directory, remember the list
|
||||
- clone the original `<original>.tsx` files to `<original>.tsx.draft`
|
||||
- do all your modification within `<original>.tsx.draft` files, leave `original.tsx` unchange
|
||||
|
||||
---
|
@@ -0,0 +1,33 @@
|
||||
Hi, i need your help.
|
||||
|
||||
## task
|
||||
|
||||
i am working on a `dbml` file
|
||||
i got a `schema.json` which is exported from pocketbase
|
||||
and i want to update it to my current `dbml` file (one way process for documentation usage)
|
||||
|
||||
## Rules
|
||||
|
||||
- the collection from `json` file started with `_` can be ignored. they are system collection and should not appear in `dbml`
|
||||
- one collection from `json` file mapped with one table in `dbml` file
|
||||
- the `presentable` field from `json` file should be ignored.
|
||||
- the `id` of collection in `json` file should be jod down in the comment of `dbml` file as an reference.
|
||||
- you can find the comments in `schema.dbml` contains `pb_xxx` and that is the reference to the table in `schema.json` file.
|
||||
|
||||
## steps
|
||||
|
||||
- list the collection
|
||||
|
||||
## information
|
||||
|
||||
json file: `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/001_documentation/Requirements/REQ0006/schema.json`
|
||||
dbml file: `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/001_documentation/Requirements/REQ0006/schema.dbml`
|
||||
|
||||
## FAQ
|
||||
|
||||
1. 对于json中有但dbml中没有的表,应该如何处理? 添加为新表
|
||||
1. 是否需要保留dbml文件中现有的注释和关系定义? 完全保留
|
||||
1. 字段类型映射是否有特殊规则? 沒有
|
||||
1. please keep the existing comment
|
||||
|
||||
thanks
|
@@ -0,0 +1,8 @@
|
||||
Hi, i will send you the guideline,
|
||||
plesae read it, prepare yourself and i will tell you the task afterwards
|
||||
|
||||
please read and understand the markdown files in directory
|
||||
`/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/000_AI_WORKSPACE/_AI_WORKSPACE/greetings`,
|
||||
it provides background information of project i want you to help.
|
||||
|
||||
thanks
|
28
000_AI_WORKSPACE/testing-engineer/greetings/002_guideline.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# guideline
|
||||
|
||||
## principles
|
||||
|
||||
- at any time, please keep your answer, solution, explaination simple and short (K.I.S.S. or 大道至簡)
|
||||
- please divide the problem into small parts
|
||||
- if you found youself cannot understand the problem, please stop and ask how to do
|
||||
- if you found youself cannot solve the problem, plesae stop and ask how to do
|
||||
- review the whole solution before you reply to user
|
||||
- if code syntax is already there, do follow (e.g. naming convention, syntax) the existing code
|
||||
- no need to explain the reason until you are told to do so
|
||||
- no need to show me the code change, at the end just simple summary in point form is ok
|
||||
|
||||
## highlighted project directories and their meanings
|
||||
|
||||
- `_ignore_this_directory` please ignore this directory and any files inside it
|
||||
|
||||
- `001_documentation` documentation of this project
|
||||
- `002_source` source code of this project
|
||||
- `002_source/cms` home of Context management system of this project
|
||||
- `002_source/ionic_mobile` home of mobile client of this project
|
||||
- `002_source/pocketbase` home of pocketbase home directory this project
|
||||
- `003_test` e2e test of this project (not yet implemented)
|
||||
- `004_marketing` marketing page of this project (not yet implemented)
|
||||
- `005_references` opensource refence of this project
|
||||
- `006_lab` my test (POC) of this project
|
||||
- `README.md` Readme of this project
|
||||
- `TODO.md` todo list of this project
|
@@ -0,0 +1,12 @@
|
||||
# Knowledgebase
|
||||
|
||||
you can answer the question with below knowledge:
|
||||
|
||||
## frameworks and stacks
|
||||
|
||||
- if code syntax is already there, do follow (e.g. naming convention, syntax) the existing code
|
||||
- make use of MCP `Context7` when you troubleshoot the problem with below topics:
|
||||
- [pocketbase javascript SDK](https://context7.com/pocketbase/js-sdk/llms.txt)
|
||||
- [DBML](https://context7.com/holistics/dbml/llms.txt)
|
||||
- [ionic framework](https://context7.com/ionic-team/ionic-framework/llms.txt)
|
||||
- [nextjs 14 app router](https://context7.com/nextjsargentina/next.js-docs/llms.txt)
|
7
000_AI_WORKSPACE/testing-engineer/greetings/010_FAQ.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# FAQ
|
||||
|
||||
Q: where is `dbml` file ?
|
||||
A: dbml file located in `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/001_documentation/Requirements/REQ0006/schema.dbml`
|
||||
|
||||
Q: when file not found, do i need to search it in `_ignore_this_directory` ?
|
||||
A: No, you just stop there and voice out.
|
48
000_AI_WORKSPACE/testing-engineer/greetings/013_DB.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# database and schemas
|
||||
|
||||
## getting started
|
||||
|
||||
Imagine there is a:
|
||||
|
||||
1. developer (provide the modification)
|
||||
2. QA engineer (provide the feedback, and testing)
|
||||
3. software engineer
|
||||
4. technical writer
|
||||
|
||||
they will:
|
||||
|
||||
- conclude and integrate the ideas from developer and QA engineer
|
||||
- make decision to modify the code accordingly.
|
||||
|
||||
## project background and initial setup
|
||||
|
||||
- **IMPORTANT**: No need to reply me what you are going on and your digest in this phase.
|
||||
No need to show me your code plan
|
||||
Just reply me "OK" when done
|
||||
|
||||
- base_dir=`/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project`
|
||||
|
||||
- `schema.dbml`
|
||||
- read `<base_dir>/001_documentation/Requirements/REQ0006/schema.dbml`
|
||||
this is file in `dbml` format stating the main database structure
|
||||
|
||||
- `schema.json`
|
||||
- read `<base_dir>/002_source/cms/src/db/schema.json`
|
||||
this is the file of current pocketbase schema
|
||||
|
||||
- look into the md files in folder `<base_dir>/002_source/ionic_mobile/_AI_WORKSPACE/001_guideline`
|
||||
|
||||
- if the directory user provided contins `_GUIDELINES.md`, please read the file
|
||||
|
||||
- read the files, remember and link up the ideas in file stated above, i will tell them the task afterwards
|
||||
|
||||
- please review at least 3 times after you modified the code
|
||||
|
||||
## frameworks documentation and samples
|
||||
|
||||
- react
|
||||
- ionic and capacitor
|
||||
- pocketbase
|
||||
- tanstack/react-query
|
||||
- vite
|
||||
- typescript
|
25
001_documentation/.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"yzhang.markdown-all-in-one",
|
||||
"esbenp.prettier-vscode",
|
||||
"ms-python.python",
|
||||
"ms-python.vscode-pylance",
|
||||
"ms-python.debugpy",
|
||||
"ms-python.black-formatter",
|
||||
"ms-python.isort",
|
||||
"bierner.markdown-mermaid",
|
||||
"shd101wyy.markdown-preview-enhanced",
|
||||
"yzhang.markdown-all-in-one",
|
||||
"matt-meyers.vscode-dbml",
|
||||
"nicolas-liger.dbml-viewer",
|
||||
"aflalo.dbml-formatter",
|
||||
"bierner.markdown-mermaid",
|
||||
"christian-kohler.path-intellisense",
|
||||
"bierner.markdown-mermaid",
|
||||
"bpruitt-goddard.mermaid-markdown-syntax-highlighting",
|
||||
"shd101wyy.markdown-preview-enhanced",
|
||||
"foam.foam-vscode",
|
||||
"simonguo.vscode-markdown-table-sort",
|
||||
"esbenp.prettier-vscode"
|
||||
]
|
||||
}
|
24
001_documentation/.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[javascriptreact]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[jsonc]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[typescript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[typescriptreact]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[markdown]": {
|
||||
"editor.defaultFormatter": "davidanson.vscode-markdownlint"
|
||||
},
|
||||
"workbench.iconTheme": "material-icon-theme",
|
||||
"workbench.colorTheme": "GitHub Dark Dimmed",
|
||||
"editor.formatOnSave": true,
|
||||
"git.ignoreLimitWarning": true
|
||||
}
|
BIN
001_documentation/Lesson/c/images/Friday.jpg
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
001_documentation/Lesson/c/images/Monday.jpg
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
001_documentation/Lesson/c/images/Thursday.jpg
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
001_documentation/Lesson/c/images/Tuesday.jpg
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
001_documentation/Lesson/c/images/Wednesday.jpg
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
001_documentation/Lesson/c/images/artist.jpg
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
001_documentation/Lesson/c/images/athlete.jpg
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
001_documentation/Lesson/c/images/badminton.jpg
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
001_documentation/Lesson/c/images/canvas.jpg
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
001_documentation/Lesson/c/images/canyon.jpg
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
001_documentation/Lesson/c/images/ci_cause_and_effect.jpg
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
001_documentation/Lesson/c/images/ci_comparing.jpg
Normal file
After Width: | Height: | Size: 104 KiB |
BIN
001_documentation/Lesson/c/images/ci_emphasizing.jpg
Normal file
After Width: | Height: | Size: 108 KiB |
BIN
001_documentation/Lesson/c/images/ci_making_conclusion.jpg
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
001_documentation/Lesson/c/images/ci_sequence.jpg
Normal file
After Width: | Height: | Size: 406 KiB |
BIN
001_documentation/Lesson/c/images/ci_time.jpg
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
001_documentation/Lesson/c/images/coach.jpg
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
001_documentation/Lesson/c/images/competitor.jpg
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
001_documentation/Lesson/c/images/computer.jpg
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
001_documentation/Lesson/c/images/discrimination.jpg
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
001_documentation/Lesson/c/images/flood.jpg
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
001_documentation/Lesson/c/images/global_warming.jpg
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
001_documentation/Lesson/c/images/inflation.jpg
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
001_documentation/Lesson/c/images/intern.jpg
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
001_documentation/Lesson/c/images/interview.jpg
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
001_documentation/Lesson/c/images/kayaking.jpg
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
001_documentation/Lesson/c/images/keyboard.jpg
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
001_documentation/Lesson/c/images/mammal.jpg
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
001_documentation/Lesson/c/images/manager.jpg
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
001_documentation/Lesson/c/images/mobile_phone.jpg
Normal file
After Width: | Height: | Size: 67 KiB |
BIN
001_documentation/Lesson/c/images/mouse.jpg
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
001_documentation/Lesson/c/images/ocean.jpg
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
001_documentation/Lesson/c/images/palette.jpg
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
001_documentation/Lesson/c/images/photography.jpg
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
001_documentation/Lesson/c/images/poverty.jpg
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
001_documentation/Lesson/c/images/president.jpg
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
001_documentation/Lesson/c/images/promotion.jpg
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
001_documentation/Lesson/c/images/socialmedia.jpg
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
001_documentation/Lesson/c/images/suicide.jpg
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
001_documentation/Lesson/c/images/typhoon.jpg
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
001_documentation/Lesson/c/images/watercolor.jpg
Normal file
After Width: | Height: | Size: 6.1 KiB |