This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INCLUDE: | |
| - 1. Pinggy provided URL # remember it is available only for 60 minutes | |
| - 2. PRD file | |
| - 3. Supabase Auth login user@example.com / aa | |
| OUTPUT: | |
| - 1. testcases to run | |
| - 2. results with screenshots and step-by-step running details | |
| SPEC: | |
| - Outcomes | |
| - - Create 50 Testcases |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INCLUDE: | |
| - 1. PRD document | |
| - 2. OpenAPI.json file | |
| - 3. DB as SQL file | |
| - 4. A mapping JSON file mapping openapi and sql | |
| - 5. Frontend and Backend code | |
| OUTPUT: | |
| - 1. docker compose and other files to ensure "docker compose up" is enough to run an integrated backend and frontend connected to Supabase. | |
| - 2. fixes for any issues in frontend or backend code | |
| SPEC: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INCLUDE: | |
| - 1. PRD document | |
| - 2. OpenAPI.json file | |
| - 3. DB as SQL file | |
| - 4. A mapping JSON file mapping openapi and sql | |
| OUTPUT: | |
| - 1. Modular production-level FastAPI, SQLAlchemy, Alembic code following best practice, and model/schema/route/crud folders with relevant files in them to build auth and backend app for "LinkDem" - A tool to help 1 - 10 member teams manage small 10 - 20 task events. | |
| SPEC: | |
| - Outcomes | |
| - - Python FastAPI app implementing the attached PRD document, treating the OpenAPI and SQL as the primary source of truth with mapping JSON tying them together. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INCLUDE: | |
| - 1. PRD document | |
| - 2. OpenAPI.json file | |
| OUTPUT: | |
| - 1. db.sql file with DDL to run on Supabase. | |
| - 2. JSON mapping of Openapi (Schemas and endpoint parameters) to db.sql | |
| SPEC: | |
| - Outcomes | |
| - - SQL File broken into 5 distinct groups (DDL statements, building if not exist enums, core tables, auth/RBAC tables, with soft delete mechanism, RLS enabled, policies for ALL authorized supabase users), Remember all logic stays on backend and not on DB. DB is only a storage layer | |
| - - Mapping JSON which maps ALL POSSIBLE from openapi.json attached Endpoint | parameter | param type | field | table, eg. /student | parent_name | body | student.parent.name | parent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INCLUDE: | |
| - 1. PRD document | |
| OUTPUT: | |
| - 1. openapi.json file in the data component (/data) this file is the basis of this component and the app. | |
| - 2. Modular React/Tailwind app implementing PRD UI, built with SRP + DRY and other best practices to build landing page and production ready app for "LinkDem" - A tool to help 1 - 10 member teams manage small 10 - 20 tasks events. | |
| SPEC: | |
| - Outcomes | |
| - - A valid openapi.json file which is used by the data component | |
| - - React app implementing the attached PRD document and constraints/validations given below. | |
| - Constraints |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OUTPUT: | |
| - 1. PRD document: describing "LinkDem" - A tool to help 1 - 10 member teams manage small 10 - 20 tasks events in a prescriptive way, guiding other agents (UI, DB, API, Testing, etc) on what you want not how to do it. | |
| SPEC: | |
| - Outcomes | |
| - - One developer-ready Technical PRD in Markdown, containing but not limited to personas, user stories, acceptance criteria etc. | |
| - Constraints | |
| - - Have 2 Access Levels - Global / Event only - "Global" access mean a user can see/act across ALL events, while "Event-only" restricts them to specific events they're assigned to | |
| - - Build functions for - users/roles/workflows/tasks/events | |
| - - Add/Assign/reassign any task with a remark (mandatory) in any state(except Done) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Customer":{ | |
| "Name":"", | |
| "Phone":"", | |
| "Email":"", | |
| "Agreement":{ | |
| "_relation":1, | |
| "Machine":{ | |
| "_relation":1, | |
| "MSN":"", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function pmc_gallery_menu_order_fix($id) { | |
| $regex_pattern = get_shortcode_regex(); | |
| preg_match ('/'.$regex_pattern.'/s', stripslashes($_POST['content']), $regex_matches); | |
| if ($regex_matches[2] == 'gallery') : | |
| $attribureStr = str_replace (" ", "&", trim ($regex_matches[3])); | |
| $attribureStr = str_replace ('"', '', $attribureStr); | |
| $attributes = wp_parse_args ($attribureStr); | |
| endif; | |
| $ids = explode(',', $attributes[ids]); | |
| $images = get_posts( array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function vicky($form_fields) { | |
| preg_match('/name="([^"]*)/', $form_fields["post_excerpt"]["html"], $matches); | |
| $args = array("textarea_name" => $matches[1], "media_buttons" => false, 'quicktags' => true, 'textarea_rows' => '5'); | |
| preg_match('/>(.*)</', $form_fields["post_excerpt"]["html"], $matches); | |
| ob_start(); | |
| wp_editor( html_entity_decode($matches[1]), "wpet_options[textarea_one]", $args ); | |
| $html = ob_get_clean(); | |
| $form_fields["post_excerpt"]["input"] = "html"; | |
| $form_fields["post_excerpt"]["html"] = $html; |