Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort not working an how to add more sort options? #27

Open
semisecco opened this issue Sep 18, 2023 · 7 comments
Open

Sort not working an how to add more sort options? #27

semisecco opened this issue Sep 18, 2023 · 7 comments

Comments

@semisecco
Copy link

semisecco commented Sep 18, 2023

Hi there
First: I love this Kanban Board and it was exactly what I needed. The changes re Status and the new drag & drop are great!
My questions:
I cannot see any change whenever I change the "sort" values in the config. I've tried "subject" first, but it does not seem to work, all taks are still in some kind of other order (I don't have priorities so far).
Then I tried "categoryNames" but this did not work either.

If (!) it will work somehow, could I add more or other sort options? In a task I work with the field "Firma" (German, probably "company" in english) which I can see under the "Details" tab in a task. I would like to sort columns by this field, if possible...

If all of this is not working, can I set Sort to "no sorting"?

And could I add more columns with new statuses?

Thanks for your help!

@maltehi
Copy link
Owner

maltehi commented Sep 18, 2023

Hey, thanks for your feedback. Some quick answers to your questions:

  • Firma field: Should be possible to implement, but currently the field is not included in the task objects (see function getTasksFromOutlook in app.js), so the function would need to be extended for that
  • Sorting should work with all fields created in the function above. You can set as many sort criteria as you like as a comma separated list, they will be processed in descending order then. Pay attention to JSON syntax when editing the config, it is very sensitive e.g. to spaces in the parameter list!
  • More columns could probably be added, but Outlook only supports 5 task statuses (Deferred, Not yet started, Doing, Waiting, Completed, or so), so the columns would need to be discerned some other way then. In an earlier version, columns were allocated to task folders instead of statuses, which can still be set in the config ("Name" field), but it probably needs some changes in the code to work correctly. Also the HTML file would need to be extended with the new columns.

@semisecco
Copy link
Author

Thanks for your fast reply.

I'll leave the "Firma" and "more columns" aside, that's fine for me.

But: I somehow killed the JSON :-(

I tried a new installation etc, but it does not work.
In the Mail view properties I set the homepage back to its former address (Programm Files\Microsoft Office... etc) so it shows the normal view of my tasks. Then I deleted the whole folder "outlook taskboard master", downloaded it new again, unzipped, and changed the homepage as you described to the kanban.html and set the homepage checkbox to active.

But whatever I do, it'll bring he message "Parsing of the JSON structure failed. Please check for sytax errors" and there is no Kanban board.

What am I doing wrong? There still must be some kind of connection, but I can't find it.

It would be great, if you could help, I was really so happy I found your tool, and now I killed it :-( Sorry for this and thank in advance!

Kind regards, Michaela

@maltehi
Copy link
Owner

maltehi commented Sep 19, 2023

Hi Michaela,

The config is stored using Outlook's "Journal" feature, which you can find through the folders view. Due to this, it will not be reset when you re-download the taskboard. Try finding all entries named KanbanConfig (and KanbanState, to be sure) and delete them - that should restore the default config when opening the taskboard the next time.

@semisecco
Copy link
Author

Hi Malte
You saved me :-)
I did not even know, I have a "folder view", so I learned even more today.
I deleted both, connected to kanban.html again and - yay, it's back to life!
Thank you so much!!

@semisecco
Copy link
Author

semisecco commented Sep 19, 2023

Last questions: Can I somehow skip the sorting? Like I would sort it all in my own way on the board, and there is no additional sorting, e.g. when a new taks is added.
This would leave the sorting up to me :-) It just should be saved in the way I left it...

And: I just tried to use it with my collegue (that was the original intention) but as my taks are shared with her, we cannot share the Kanban view.
I moved the whole folder (outlook taskboard master) to a network drive which we both use. (And yes, deleted the journal kanban files again). I reset my task homepage in the folder view and the task view, so both are linked to the network folder kanban.html.

But when my collegue opens the tasks ("shared tasks"), she gets the info that the folder connot be opened and nothing is shown.

So I fear that although I learned a lot, we cannot use it unfortunately.

Or do you have any further ideas? Thanks again!
Michaela

@maltehi
Copy link
Owner

maltehi commented Sep 19, 2023

About the sorting: I am afraid it would require some additional way to save the order of the tasks for when the board is reloaded, and it currently does not exist. It might be that some other fork of the taskboard has a feature like that, but this one I think doesn't.

About the network share, we also tried getting that to work, unfortunately without success so far... :/

@semisecco
Copy link
Author

Sigh... It would have been so nice to work with it...

We even tried to make it work in a outlook mail account that we both use (in addition to our own outlook mail account). We copied the tasks there, but the Kanban board just showed mine. Pretty sure because in those tasks I was the owner.

Then we created own tasks from the shared account , but those were not shown at all, still only mine.
Only when we deleted all the Kanban setting and links, those tasks were shown in the shared account task views (task list).

I just wanted to let you know about this, maybe it helps in developing a "network" or "shared" view some day.

But nevertheless thanks for your patience and help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants