Uh oh!
There was an error while loading. Please reload this page.
feat: show loading screen in task area only - #256
Conversation
julien-nc
left a comment
There was a problem hiding this comment.
This looks great! A few things to adjust and we're good to go.
The task list item is not updated when the task finishes. Maybe we should fire an event in the event bus after pollTask so the TaskList component can update its internal task object status.emit('task-updated', task)
which would be caught in TaskList and call a method like:
updateTask(task){constinternalTask=this.tasks.find(t=>t.id===task.id)if(internalTask){internalTask.status=task.status}}Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Is Another alternative could be instead of declaring the tasks list in the |
julien-nc
commented
Jun 13, 2025
It's a lot of chaining props to carry the value from assistant.js to TaskList. I would be in favor of using the event bus. When using this function: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bcdb3d1 to
08c1af1Compare
done in 08c1af1, but using |
julien-nc
left a comment
There was a problem hiding this comment.
Works great. @janepie Could you give it a try as well?
@edward-ly Let's wait for Jana's feedback to merge this if you don't mind.
Nice one! |
julien-nc
commented
Jun 17, 2025
@edward-ly You can rebase your branch on main where part of the task type switch issue was fixed (by #262). |
Good catch, should be fixed in 12ecdad now, mind testing one last time? @janepie@julien-nc |
Uh oh!
There was an error while loading. Please reload this page.
janepie
commented
Jun 17, 2025
Not necessarily the red color, but I do see the button being in the wrong state too, latest commit should fix it. @janepie feel free to merge this if everything looks good to you |
…tion property Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>
… click, toggle notification request instead Signed-off-by: Edward Ly <contact@edward.ly>
…ng screen depending on task status Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>
janepie
commented
Jun 18, 2025
Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>
edward-ly
commented
Jun 18, 2025
Ah I see, I fixed the case for when a task from the task list is loaded, but not when switching task types or creating a new task, should be fixed now. |
* Adjust `get notified` string. * Check for changed icon rather than message. Changes caused by nextcloud/assistant#256 Signed-off-by: Max <max@nextcloud.com>
* Adjust `get notified` string. * Check for changed icon rather than message. Changes caused by nextcloud/assistant#256 Signed-off-by: Max <max@nextcloud.com>
* Adjust `get notified` string. * Check for changed icon rather than message. Changes caused by nextcloud/assistant#256 Signed-off-by: Max <max@nextcloud.com>


Fixes#245. In addition, the task list is automatically updated when a new task is submitted or a running task is canceled, with the submitted task also being automatically selected from the list.