dalibo / dalibo/explain.dalibo.com

Plan optimizations

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
82
Forks
25
Avg merge
20h 40m
Merged PRs (30d)
4

Description

Inspired from Despesz

It would be nice to offer the users the ability to link plans. A "add optimization" could be added to let users add a new plan linked to a first one.

The idea would be to add a "add optimization" on the interface. Then a new form would be created with a hidden input referencing the id of the previous plan. In the database, there would be a new "optimization_for" column.

In the future PEV2 could even show the difference graphically. See https://github.com/dalibo/pev2/issues/377

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by tracing the existing plan-creation interface and database model, then identify how a new plan can reference the original plan's id. Done means the interface supports adding an optimization and the relationship is stored in the database; graphical comparison is described as future work.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, postgresql, typescript
Domain
backend, databases, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.