ajtruckle / meeting-schedule-assistant-support

Get support for Meeting Schedule Assistant.
https://www.publictalksoftware.co.uk/meeting-schedule-assistant/
5 stars 0 forks source link

Improved importer for Assignment Editor #109

Closed ajtruckle closed 3 weeks ago

ajtruckle commented 1 month ago

My proposal is to replace the current Import From OCLM Assignment History feature in the Assignment Editor:

image

It will be replaced by the same Import from Database History feature used in the Meeting Editor:

image

Some minor adjustments will need to be made to the information presented in the importer (e.g. checklist of column headings) to make it compatible with the Assignment Editor.

Benefits

cengizu commented 1 month ago

@ajtruckle

It will be very good. A nice improvement!

ajtruckle commented 1 month ago

@cengizu

CSV — Duties

Existing GUI: image

Changes required:

JSON: The JSON mapping data will need to be something like:

Type: Duty4P1
TypeName: Microphones
Include: True
LinksTo: original assignment editor column index

Importing: Basically we would do this:

ajtruckle commented 1 month ago

@cengizu Looking at the Meeting Editor mode now. This is when we read from the MWB history DB. So, it is this mode that will replace the original Import from OCLM assignment history.

Now, when we use the importer with the Meeting Editor, we allow for three columns on the mapping grid, where the middle column was for the midweek / weekend meeting. But, in the Assignment Editor, I do not want the complication of an additional column on the import mapping grid.

My resolution is simple. The drop-lists (Links To) cells will have the following options:

These options reflect the feature we are replacing. We can also add more options to the list, but this is a starting point. By mapping the assignment editor grid columns to the relevant options then it should work ok. There is a situation that I did not think about though, and that concerns dates / report mode.

It is just something I have to keep in mind during importing. Either way, using the Monday will always find the right data the row(s) concerned.

Technically, importing might mess up for all modes, if the assignment editor is in Weekly mode. I might disable the importer for this report mode. We will see.

Also, note that the assignment editor has the newer features now on the right that can identify who is used for midweek / weekend meetings. Thus, avoiding the need to actually import meeting data into columns (this was why it was originally implemented). But, I guess it is still useful to allow the user to import if desired, so that we don't lose any functionality.

ajtruckle commented 4 weeks ago

@cengizu

Report Mode

The Assignment Editor has two report modes:

Importing from OCLM history copes with both modes because the MWB history is grouped by the "Monday". So it is very easy to determine what data and which rows are associated with each other. The common denominator being the "Monday" being the same.

But, these import modes:

will only work when the report mode is Meeting. When in weekly mode, the "dates" displayed in the assignment editor is based on the day selected in the general options. In most cases this will be a Monday too, but it could be any day. So, using the same logic as above would require that we establish what the weekly "date" would be for each meeting (based on the program options). Then we would be able to import.

I was hoping that things would not get this complicated. But I forgot about the report mode. 😊

Summary:

ajtruckle commented 3 weeks ago

@cengizu Updated help topic:

https://github.com/ajtruckle/meeting-schedule-assistant-support/wiki/srr-editor-import-history