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

PAINTROID-696: If no projects available, create new one when tapping edit icon #48

Merged
merged 6 commits into from
Jun 5, 2024

Conversation

msesko
Copy link
Contributor

@msesko msesko commented Feb 17, 2024

Title says it all; If no projects available, create new one when tapping edit icon.

New Features and Enhancements

  • If no projects available, create new one when tapping edit icon.
    • tests

Refactorings and Bug Fixes

  • Nothing new

Screenshot 2024-02-17 at 23 50 07

Checklist

Your checklist for this pull request

Please review the contributing guidelines and wiki pages of this repository.

  • Include the name of the Jira ticket in the PR’s title
  • Include a summary of the changes plus the relevant context
  • Choose the proper base branch (develop)
  • Confirm that the changes follow the project’s coding guidelines
  • Verify that the changes generate no compiler or linter warnings
  • Perform a self-review of the changes
  • Verify to commit no other files than the intentionally changed ones
  • Include reasonable and readable tests verifying the added or changed behavior
  • Confirm that new and existing unit tests pass locally
  • Check that the commits’ message style matches the project’s guideline
  • Stick to the project’s gitflow workflow
  • Verify that your changes do not have any conflicts with the base branch
  • After the PR, verify that all CI checks have passed
  • Post a message in the #paintroid Slack channel and ask for a code reviewer

@bhav-khurana
Copy link
Contributor

Can we optionally show a plus icon instead of the edit one for the case when there are no existing projects?

Copy link
Contributor

@bakicelebi bakicelebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bhav-khurana Thanks for the great suggestion. I also think that showing plus icon makes more sense instead of edit when there are no saved project.

Icons.more_vert,
);
expect(overflowMenuButtonFinder, findsOneWidget);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would also be nice if you check if the canvas is clear. Might help in the future to detect regressions.

expect(find.text('My Projects'), findsOneWidget);
},
);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add a test for opening a saved project.

@msesko
Copy link
Contributor Author

msesko commented Feb 20, 2024

@bhav-khurana Thanks for the great suggestion. I also think that showing plus icon makes more sense instead of edit when there are no saved project.

Some designs:
image
image

Reference:
image

Personally I do not like the look of a plus (add) icon in there. Makes it look like a hospital app haha. Tbh I think the pencil icon is also nice for adding. What do you guys think? @bakicelebi @bhav-khurana

@bhav-khurana
Copy link
Contributor

bhav-khurana commented Feb 20, 2024

@msesko I would agree.. the plus icon doesn't seem that appropriate now.. The pencil icon looks better imo

@bakicelebi
Copy link
Contributor

The design language is clearer with plus icon because pencil icon can be edit or new, whereas the plus icon is specifically creating something new. Additionally we are also using plus in the bottom right corner for creating a new project. Lets make the UI experience unified :)

@msesko
Copy link
Contributor Author

msesko commented Feb 23, 2024

The design language is clearer with plus icon because pencil icon can be edit or new, whereas the plus icon is specifically creating something new. Additionally we are also using plus in the bottom right corner for creating a new project. Lets make the UI experience unified :)

It's ugly tho 😭

@Lenkomotive
Copy link
Contributor

Lenkomotive commented Feb 24, 2024

@bhav-khurana Thanks for the suggestion, as @bakicelebi pointed out, it does make the design language clearer. Personally I like the white '+' on grey background more, as it resembles the same design of the current pen icon we use. :)

@bhav-khurana
Copy link
Contributor

I think we can go with the + icon then, it does give that hospital app feeling @msesko :') but it would be more consistent with the app's current design

@msesko msesko requested a review from bakicelebi April 13, 2024 23:54
@juliajulie95
Copy link
Contributor

please link to jira and resolve conflicts

@juliajulie95 juliajulie95 marked this pull request as draft April 15, 2024 17:56
@bakicelebi
Copy link
Contributor

Is this still a draft?

@msesko msesko marked this pull request as ready for review June 3, 2024 21:28
Copy link
Contributor

@bakicelebi bakicelebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@juliajulie95 juliajulie95 merged commit f162800 into Catrobat:develop Jun 5, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

5 participants