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

UI for creating a todo list #29779

Open
alya opened this issue Apr 18, 2024 · 3 comments · May be fixed by #29806
Open

UI for creating a todo list #29779

alya opened this issue Apr 18, 2024 · 3 comments · May be fixed by #29806
Labels
area: compose (UI & widgets) Scheduled messages, giphy, send later, etc. new feature A proposed new feature for the product

Comments

@alya
Copy link
Contributor

alya commented Apr 18, 2024

We should add a modal for creating a todo list, closely paralleling the UI for adding a poll.

Compose box button

  • Icon
  • Let's put polls and todo lists into their own section on the right (just before ?)
  • Disabled when there is already content in the compose box, just like the poll button.

Modal

I'm imagining the same interactions as for polls, but with 2 fields on each line (to accommodate the description). The description field should probably be wider than the task field.


Create a collaborative to-do list [?]

To-do list title

[Task list] <- placeholder text

Tasks

Anyone can add more tasks after the to-do list is posted.

[New task] [Task description (optional)]
[New task] [Task description (optional)]
[New task] [Task description (optional)]

[Cancel] [Create to-do list]


Notes

  • The help center will need to be updated accordingly.

CZO thread

@alya alya added new feature A proposed new feature for the product area: compose (UI & widgets) Scheduled messages, giphy, send later, etc. labels Apr 18, 2024
@lemmasamaha
Copy link
Collaborator

@zulipbot claim

@zulipbot
Copy link
Member

Hello @lemmasamaha!

Thanks for your interest in Zulip! You have attempted to claim an issue without the label "help wanted". You can only claim and submit pull requests for issues with the help wanted label.

If this is your first time here, we recommend reading our guide for new contributors before getting started.

@lemmasamaha
Copy link
Collaborator

@alya do you need help with this?

sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue Apr 21, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

This modal closely parallels the UI for adding a poll.

Fixes: zulip#29779.
@sujalshah-bit sujalshah-bit linked a pull request Apr 21, 2024 that will close this issue
12 tasks
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue Apr 21, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

This modal closely parallels the UI for adding a poll.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue Apr 21, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

This modal closely parallels the UI for adding a poll.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue Apr 22, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

Added polls and todo lists into their own section on the right,
positioned just before the `?` icon.

This modal closely parallels the UI for adding a poll.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue Apr 22, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

Added polls and todo lists into their own section on the right,
positioned just before the `?` icon.

This modal closely parallels the UI for adding a poll.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue Apr 22, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

Added polls and todo lists into their own section on the right,
positioned just before the `?` icon.

This modal closely parallels the UI for adding a poll.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue Apr 22, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

Added polls and todo lists into their own section on the right,
positioned just before the `?` icon.

This modal closely parallels the UI for adding a poll.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue Apr 22, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

Added polls and todo lists into their own section on the right,
positioned just before the `?` icon.

This modal closely parallels the UI for adding a poll.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue Apr 22, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

Added polls and todo lists into their own section on the right,
positioned just before the `?` icon.

This modal closely parallels the UI for adding a poll.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue Apr 22, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

Added polls and todo lists into their own section on the right,
positioned just before the `?` icon.

This modal closely parallels the UI for adding a poll.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue Apr 26, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

This modal closely parallels the UI for adding a poll.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue Apr 26, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

This modal closely parallels the UI for adding a poll.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue Apr 26, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

This modal closely parallels the UI for adding a poll; therefore,
the poll and todo code has been shifted to a newly created
file named `widget.ts`, and `poll_modal.ts` is now deprecated.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue Apr 27, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

This modal closely parallels the UI for adding a poll; therefore,
the poll and todo code has been shifted to a newly created
file named `widget.ts`, and `poll_modal.ts` is now deprecated.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue May 1, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

This modal closely parallels the UI for adding a poll; therefore,
the poll and todo code has been shifted to a newly created
file named `widget.ts`, and `poll_modal.ts` is now deprecated.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue May 1, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

This modal closely parallels the UI for adding a poll; therefore,
the poll and todo code has been shifted to a newly created
file named `widget.ts`, and `poll_modal.ts` is now deprecated.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue May 5, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

This modal closely parallels the UI for adding a poll; therefore,
the poll and todo code has been shifted to a newly created
file named `widget.ts`, and `poll_modal.ts` is now deprecated.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue May 9, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

This modal closely parallels the UI for adding a poll; therefore,
the poll and todo code has been shifted to a newly created
file named `widget.ts`, and `poll_modal.ts` is now deprecated.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue May 9, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

This modal closely parallels the UI for adding a poll; therefore,
the poll and todo code has been shifted to a newly created
file named `widget.ts`, and `poll_modal.ts` is now deprecated.

Fixes: zulip#29779.
sujalshah-bit added a commit to sujalshah-bit/zulip that referenced this issue May 9, 2024
Previously, the `/todo` slash command was the sole method for
creating todos. Now, a button has been introduced to launch a modal
for creating todo-lists directly from the compose box.
This button becomes enabled only when the compose box is empty,
thereby avoiding complexities associated with losing or having to
save drafts of any messages already being composed.

The modal features a form that, upon submission,
generates a message using the `/todo` syntax and the data
inputted in the form. Subsequently, the content of the compose box
is set to this message, which the user can then send.

This modal closely parallels the UI for adding a poll; therefore,
the poll and todo code has been shifted to a newly created
file named `widget.ts`, and `poll_modal.ts` is now deprecated.

Fixes: zulip#29779.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: compose (UI & widgets) Scheduled messages, giphy, send later, etc. new feature A proposed new feature for the product
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants