Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051733
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[POS2] Coremajorhave not tried2023-03-01 08:252023-03-02 14:47
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version23Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051733: Add a convenient and dynamic way for components to know the orientation of the device

DescriptionAs part of the effort to improve the portrait mode support we have noticed that it will be convenient if some components are aware of the orientation of the device (portrait / landscape).

Currently they can do it by listening to changes in the UI.windowSize property, but it would be cleaner to provide a custom hook (i.e. useIsPortrait) to get that information
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0147160)
hgbot (developer)
2023-03-01 12:35

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/996 [^]
(0147236)
hgbot (developer)
2023-03-02 14:47

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 688cdaebe1293ab14ed473103d061910042f8a23
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 02-03-2023 13:46:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/688cdaebe1293ab14ed473103d061910042f8a23 [^]

Fixes ISSUE-51733: Implements useIsPortrait

useIsPortrait is a hook that will allow components to rerender when the orientation of the device
is updated

---
A web-jspack/org.openbravo.core2/src/hooks/useIsPortrait/__test__/useIsPortrait.test.jsx
A web-jspack/org.openbravo.core2/src/hooks/useIsPortrait/index.js
A web-jspack/org.openbravo.core2/src/hooks/useIsPortrait/useIsPortrait.js
---
(0147237)
hgbot (developer)
2023-03-02 14:47

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/996 [^]

- Issue History
Date Modified Username Field Change
2023-03-01 08:25 AugustoMauch New Issue
2023-03-01 08:25 AugustoMauch Assigned To => AugustoMauch
2023-03-01 08:25 AugustoMauch Triggers an Emergency Pack => No
2023-03-01 08:26 AugustoMauch Status new => scheduled
2023-03-01 12:35 hgbot Note Added: 0147160
2023-03-02 14:47 hgbot Resolution open => fixed
2023-03-02 14:47 hgbot Status scheduled => closed
2023-03-02 14:47 hgbot Fixed in Version => 23Q2
2023-03-02 14:47 hgbot Note Added: 0147236
2023-03-02 14:47 hgbot Note Added: 0147237


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker