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

fix(CreateChatView): hide the Contacts label when no contacts #6384

Merged

Conversation

caybro
Copy link
Member

@caybro caybro commented Jul 7, 2022

Fixes #6353

  • hide the TagSelector's listLabel and disable the textEdit when the
    contacts model is empty
  • add forgotten qsTr()
  • remove some no-op positioniers/anchors/width/height bindings (these are
    handled automatically for QQC2 Control's header and contentItem)

What does the PR do

It hides the Contacts label and disables the internal tag selector when the contacts model is empty

Affected areas

CreateChatView

Screenshot of functionality (including design for comparison)

  • I've checked the design and this PR matches it

Before fix

Snímek obrazovky z 2022-07-07 16-03-42

After fix

Snímek obrazovky z 2022-07-07 16-04-10

@caybro caybro linked an issue Jul 7, 2022 that may be closed by this pull request
@caybro caybro requested review from alexandraB99, osmaczko and noeliaSD and removed request for noeliaSD July 7, 2022 14:23
@status-im-auto
Copy link
Member

status-im-auto commented Jul 7, 2022

Jenkins Builds

Click to see older builds (4)
Commit #️⃣ Finished (UTC) Duration Platform Result
⁉️ d4c4380 #1 2022-07-07 14:26:24 ~3 min linux-cpp 📄log
✔️ d4c4380 #1 2022-07-07 14:32:06 ~8 min macos 📦dmg
✔️ d4c4380 #1 2022-07-07 14:34:42 ~11 min linux 📦tgz
✔️ d4c4380 #1 2022-07-07 14:47:37 ~24 min windows 📦exe
Commit #️⃣ Finished (UTC) Duration Platform Result
⁉️ 2802e39 #2 2022-07-07 14:46:12 ~2 min linux-cpp 📄log
✔️ 2802e39 #2 2022-07-07 14:52:28 ~8 min macos 📦dmg
✔️ 2802e39 #2 2022-07-07 14:53:34 ~10 min linux 📦tgz
✔️ 2802e39 #2 2022-07-07 15:08:02 ~24 min windows 📦exe
⁉️ c0a7f75 #3 2022-07-07 14:58:42 ~2 min linux-cpp 📄log
✔️ c0a7f75 #3 2022-07-07 15:06:09 ~10 min linux 📦tgz
✔️ c0a7f75 #3 2022-07-07 15:08:30 ~12 min macos 📦dmg
✔️ c0a7f75 #3 2022-07-07 15:29:22 ~33 min windows 📦exe

@caybro caybro force-pushed the 6353-contacts-is-shown-while-user-doesnt-have-any-contacts branch from d4c4380 to 2802e39 Compare July 7, 2022 14:43
- hide the TagSelector's `listLabel` and disable the `textEdit` when the
  contacts model is empty
- add forgotten `qsTr()`
- remove some no-op positioniers/anchors/width/height bindings (these are
  handled automatically for QQC2 Control's header and contentItem)
@caybro caybro force-pushed the 6353-contacts-is-shown-while-user-doesnt-have-any-contacts branch from 2802e39 to c0a7f75 Compare July 7, 2022 14:55
@caybro caybro requested a review from jrainville July 7, 2022 16:53
@elina2015 elina2015 self-requested a review July 7, 2022 21:00
@elina2015 elina2015 self-assigned this Jul 7, 2022
Copy link

@elina2015 elina2015 left a comment

Choose a reason for hiding this comment

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

Tested and Approved

@elina2015 elina2015 added tested and removed testing labels Jul 8, 2022
@caybro caybro merged commit aa804ff into master Jul 8, 2022
@caybro caybro deleted the 6353-contacts-is-shown-while-user-doesnt-have-any-contacts branch July 8, 2022 07:40
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.

'Contacts' is shown while user doesn't have any contacts
5 participants