Open yongrenjie opened 1 year ago
Shouldn't be super hard, the necessary functions should already exist (?)
So instead of
Name, 😄, 👍, 👎
as the columns, we'd have
Name, 😄, 👍, 👎, Availability 2023-05, 2023-06, 2023-07
(for example.)
The monthly allocation% is already calculated as part of the person summary (although maybe we might want to move it to another module to avoid the potential of future cyclic imports)
https://github.com/alan-turing-institute/whatwhat/blob/a63c0767e724f575167b22d444985d904e2da91d/lib/person.ml#L32-L40
and the output tables should be easy to edit as they're dynamically constructed from a list of list of strings
https://github.com/alan-turing-institute/whatwhat/blob/a63c0767e724f575167b22d444985d904e2da91d/lib/pretty.ml#L61-L69
so the necessary functionality should all be there.
Shouldn't be super hard, the necessary functions should already exist (?)
So instead of
as the columns, we'd have
(for example.)
The monthly allocation% is already calculated as part of the person summary (although maybe we might want to move it to another module to avoid the potential of future cyclic imports)
https://github.com/alan-turing-institute/whatwhat/blob/a63c0767e724f575167b22d444985d904e2da91d/lib/person.ml#L32-L40
and the output tables should be easy to edit as they're dynamically constructed from a list of list of strings
https://github.com/alan-turing-institute/whatwhat/blob/a63c0767e724f575167b22d444985d904e2da91d/lib/pretty.ml#L61-L69
so the necessary functionality should all be there.