fundamental-ngx icon indicating copy to clipboard operation
fundamental-ngx copied to clipboard

[WIP] feat(core): update combobox shellbar mode

Open shrvr opened this issue 2 years ago • 12 comments

Related Issue(s)

closes #7966

Description

Updated shellbar mode of combobox to enable hide & show of Input field.

shrvr avatar Jul 12 '22 13:07 shrvr

Deploy Preview for fundamental-ngx ready!

Name Link
Latest commit aa0993c0360785916bea357a67ace39ab209c6ac
Latest deploy log https://app.netlify.com/sites/fundamental-ngx/deploys/63beccd0f1993d0007cbf9ea
Deploy Preview https://deploy-preview-8347--fundamental-ngx.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Jul 12 '22 13:07 netlify[bot]

This pull request is stale because it has been open 2 days with no activity. Remove stale label or comment or this will be closed in 3 days

github-actions[bot] avatar Jul 16 '22 00:07 github-actions[bot]

This pull request introduces 1 alert when merging 0e8d5416d406ce5e9fa8b3fd590f1421bf78ad46 into 58cb7880aa9fca9a137c26e44e7228ae32dbcd9e - view on LGTM.com

new alerts:

  • 1 for Syntax error

lgtm-com[bot] avatar Jul 19 '22 16:07 lgtm-com[bot]

Visit the preview URL for this PR (updated for commit b184ecd):

https://fundamental-ngx-gh--pr8347-feat-7966-shellbar-e-x8ovsd7q.web.app

(expires Sun, 25 Sep 2022 16:18:30 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

github-actions[bot] avatar Jul 19 '22 20:07 github-actions[bot]

This pull request is stale because it has been open 2 days with no activity. Remove stale label or comment or this will be closed in 3 days

github-actions[bot] avatar Jul 24 '22 00:07 github-actions[bot]

This pull request is stale because it has been open 2 days with no activity. Remove stale label or comment or this will be closed in 3 days

github-actions[bot] avatar Aug 02 '22 00:08 github-actions[bot]

This pull request is stale because it has been open 2 days with no activity. Remove stale label or comment or this will be closed in 3 days

github-actions[bot] avatar Aug 05 '22 00:08 github-actions[bot]

This pull request is stale because it has been open 2 days with no activity. Remove stale label or comment or this will be closed in 3 days

github-actions[bot] avatar Aug 08 '22 00:08 github-actions[bot]

This pull request is stale because it has been open 2 days with no activity. Remove stale label or comment or this will be closed in 3 days

github-actions[bot] avatar Aug 13 '22 00:08 github-actions[bot]

Also, FYI please check https://github.com/SAP/fundamental-ngx/issues/8607 The search field should open in a new full screen dialog in which items can be selected from a list of suggestions. But let's leave it out of the scope of this PR.

InnaAtanasova avatar Aug 26 '22 16:08 InnaAtanasova

No margin between these two elements: Screen Shot 2022-08-31 at 2 25 35 PM

If the small size combobox is open and the screen size changes (this could happen when the user resizes the page or something), combobox still takes the full width Screen Shot 2022-08-31 at 2 26 04 PM

mikerodonnell89 avatar Aug 31 '22 20:08 mikerodonnell89

Visit the preview URL for this PR (updated for commit aa0993c):

https://fundamental-ngx-gh--pr8347-feat-7966-shellbar-e-d9naau30.web.app

(expires Sat, 14 Jan 2023 15:09:13 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 41b993ee8e451bd7c6770b342ce142dc886eacff

github-actions[bot] avatar Oct 31 '22 23:10 github-actions[bot]

https://github.com/SAP/fundamental-ngx/pull/8347#discussion_r1014250538

@mikerodonnell89 Hm, no. I agree that it should be under the hood and hidden from API. Will change that.

But I don't think @HostBinding can be used here, because we are applying css classes to different elements of the components e.g. button, input, etc..

shrvr avatar Nov 04 '22 18:11 shrvr

#8347 (comment)

@mikerodonnell89 Hm, no. I agree that it should be under the hood and hidden from API. Will change that.

But I don't think @HostBinding can be used here, because we are applying css classes to different elements of the components e.g. button, input, etc..

Oops yes you are right, let's use hidden variables.

mikerodonnell89 avatar Nov 04 '22 18:11 mikerodonnell89

On the smallest screens search takes the whole widths and logo goes hidden accordingly to the designs

CleanShot 2022-11-18 at 16 15 07@2x

CleanShot 2022-11-18 at 16 17 08 CleanShot 2022-11-18 at 16 17 08

@platon-rov I have migrated some changes to fundamental-styles. so please use latest RC of styles to test it. 😅

shrvr avatar Nov 18 '22 15:11 shrvr

Can we avoid resizing the search field?

Screen.Recording.2022-11-10.at.12.09.48.mov

@platon-rov One solution to solve this to give full width to combobox. Check https://github.com/SAP/fundamental-ngx/pull/8347/commits/1a6e6599ea1f28c8dc314b7b395dc3638eba1e2f

Before: msedge_URiGEkIQPB

After: msedge_bvjEnHVQCj

shrvr avatar Nov 24 '22 23:11 shrvr

Closing in favour of #9287

N1XUS avatar Feb 01 '23 07:02 N1XUS