Files
lettersoup-online/002_source/cms/_AI_WORKSPACE/pages/002_PROMPT.md
2025-04-22 18:53:41 +08:00

1.4 KiB

Hi, i need your help.

i am working on a nextjs react typescript project

i've already copied the code(and it sub-directories) from /home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/app/dashboard/lp (a.k.a. lp) to /home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/app/dashboard/cr (a.k.a. cr)

i want you to:

  • list files from directory

    • /home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/app/dashboard/lp
    • /home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/app/dashboard/cr
  • understand the relations (e.g. lp -> lp_categories, lp -> COL_QUIZ_LP_CATEGORIES)

  • review if any remaining lp or mf exist in cr directory and please help to do replace it to cr. (e.g. COL_QUIZ_LP_CATEGORIES -> COL_QUIZ_CR_CATEGORIES )

  • please create if you find any missing files/codes/constants

thank you


  • I proofed the code is working already, what you need to do is refactoring of the variables, functions, classes, constants (lp -> cr)
  • compare the difference between lp and mf,
  • remember the differences and
  • draft the new type cr (e.g. modify the import locations, variables, functions, classes, constants name etc.)