Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
haskell-gargantext
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 175
    • Issues 175
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • haskell-gargantexthaskell-gargantext
  • Issues
  • #113

Closed
Open
Opened Mar 03, 2022 by delanoe@anoe
  • Report abuse
  • New issue
Report abuse New issue

Hierarchical Workflow and progress bar improvement with State Monad

Logs of Todays meeting

cgenie: if we stretch accounting procedures, we could implement them with current joblog structure
09:40 < anoe> yes, it sounds good
09:40 < cgenie[m]> the monad would keep number of steps and adjust numbers in such a way (when reporting how much is remaining in each step) that the 
                   progress is displayed nicely
09:40 < cgenie[m]> suppose you report 2 steps to the monad, then report that 1st step is 1000 tasks, then it shoudl automatically assume 1000 for second 
                   step
09:41 < cgenie[m]> and if second step is updated, it should adjust the counts in such a way that each step is 50%
09:41 < cgenie[m]> if second step is 2000 tasks and 1st is 1000 tasks then it should recalculate values so that 1st and 2nd step are 50%, say
09:42 < cgenie[m]> then each function would just start with calling the monad and saying `add 1 step, with 1000 tasks and i'll mark them as they're done` 
                   and the monad takes care of making the numbers right
Edited Mar 13, 2023 by Przemyslaw Kaminski
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#113