Coder Social home page Coder Social logo

react-maintenance-planner's People

Contributors

blcham avatar lachope avatar pluharvit avatar

Watchers

 avatar  avatar

react-maintenance-planner's Issues

Support creation of new task

Need to be consistent with creation of milestones - #56 and selection of multiple tasks.

Options are:

  1. double click - will be visualized by default as a task with a predefined length and will trigger a popup where you would be able to choose the type (e.g. milestone/task-card/work-order/...). By default, there will be some type selected (e.g. task-card). When you choose the type milestone, the underlying visualization of the task will change to a vertical line. The issue here is that you cannot specify the size of the task at the beginning.
  2. single click - same as above. The issue is that it collides with moving gesture within the calendar.

@blcham @LaChope @kostobog @kalamartin

Highlight parent tasks

Support for highlighting parent tasks of given tasks. Upon clicking on task all parent tasks should be highlighted.

Refactor code

@PluharVit Can you consider #77 for this ticket? Of course we can discuss it if you think it does not make sense to do it like this.

Add resources from tree

@PluharVit @blcham
We should be able to add resources (groups) directly from the tree.

One recommended implementation could be to have a "+" icon between rows:

image

N.B. : For icons, I used react icons, so that you can very easily add icons as components. Of course you can do how you prefer, I just found this library very convenient.

Expandable panel with resources

Panel with resources should be expandable with mouse.

Panel itself should expanded automatically when user unfold parts for the resource tree. It should expand in a way that all labels are readable.

Refactor into library of components

Right now, the maintenance planner is not flexible enough, it is too specialized to the CSAT project. All components should be exportable and logic should me moved away from it to have more control over it.

A/C:

  • Every component must be:
    • Exportable
    • Customizable
    • Without logic (or as little as possible)
  • Storybook should be updated accordingly to be able to test / play with all the components and have suitable documentation to be able to easily import the different components in different projects.

Any idea/feedback is welcome @blcham @PluharVit :)

Sequencing on historical data vs real up to date WP data

CSAT would like to have workplan based on historical data built and visualized. However, when WP would start, workplan should be amended with actual data exported from AMOS, available now on FTP.
Example: TASK 291000-20-1-600 planned on Friday 1.1.2021. Actually performed on Monday the forth. The blue "rectangle" would be erased

Výstřižek1

Implement CR of milestones

Related to:
RQ4 Milníky (M)
Na časové ose plánovací komponenty je možné

  • Zobrazovat
  • Přidávat
  • Upravovat (pohybovat v čase)
  • Odebíra`t milníky.

Need to implement only emphasized points.

Investigate why plan manager shows blank screen

It happens sometimes that plan-manager shows blank screen.

My experience is that it is sufficient to refresh the screen with Ctrl-F5. Goal of the ticket is to investigate when it happens.

Add adhoc task

In some cases, user might want to create new group ("area", see #57 (comment)). We should be able to create new task there where we can define title and date.

image

  • Consider creating it in the existing area (without creating Area 1) and text would include information what part of the area it targets.

  • It should have type "remark".

Originally posted by @blcham in kbss-cvut/csat-maintenance-planner#43 (comment)

Reorder resources

As @blcham suggested in #37 (comment), we should be able to reorder resources that are on the same level. Also, if a resource that is reordered has children, children should still be linked to their parent (as in example below):

- A
  - B  
  - C
  - D
- E
  - F 

After reordering "E":

- E
  - F
- A
  - B  
  - C
  - D 

Improve Milestones component

Directly from the plan editor we should be able to:

  • Create new one
  • Change its title
  • Each milestone should have different color from each other
    • optional: User can choose the color with a color wheel

To consider (not priority):

  • Remove milestone

Support for selection of subtasks

As a user I would like to see tasks that are subtasks of given task. Upon clicking on the task all subtasks should be highlighted.
It should work on any level of the resource tree (of course it does not make sense for the lower most level as no subtasks would be selected)

image

Support for detailed info about task

As a user of the component I would like to see info about the task when clicking on it. I assume some kind of modal window would show up upon double click/on hover.

image

List of "active" WP

Please make a list of WP which can be seen in WP. In the best case, the Dasboard 1.0 and 2.0 to be associated with Planning tool.

Výstřižek1

Reconnect the project with react-calendar-timeline library

  • premisses:
    • it is very hard/time-consuming to migrate to the git history of react-calendar-timeline library (we tried it at the meeting)
    • react-calendar-timeline is not evolving so fast (one minor release = 3 commits in last year)
    • we are not able to cherry-pick changes from react-calendar-timeline library because source JavaScript files were moved to src/components/timeline

I suggest that we make our project more similar to the timeline (if it makes sense) so cherry-picking from react-calendar-timeline to here would be possible (this is the long-term goal), and we will not do it "standard git way" but in some predicable documented way. For the short-term goal, we just want to analyze what the state is and possibly upgrade.

A/C:

  • if it makes sense, the library is updated to the newest version (currently 0.28.0)
  • make a pull request (branch compare-to-react-calendar-timeline-0.28.0) that would show what is difference between the actual state of react-calendar-timeline in react-maintenance-planner and the original timeline-component from which it was copied (related to the commit namespace-ee/react-calendar-timeline@44bed94)
  • make an analysis of possible migration of src/component/timeline/* back to src/. Is it meaningful to move it there?

@LaChope

Task searchbox

Possibility to search task in component.

Many tasks could have same name, so in that case it would be possible to choose which one i would like to open in component.

e.g.,
option1: aircraft111 -> cockpit -> functional check
option2: aircraft111 -> interior body -> functional check

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.