Skip to content

Android - Workspace - The Save button does not have the right alignment in offline mode #54636

Closed

Description

@IuliiaHerets

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.0.79-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5382287
Issue reported by: Applause Internal Team
Device used: Samsung S23FE/ Android 14
App Component: Workspace Settings

Action Performed:

  1. Go to the Expensify app
  2. Go offline
  3. Tap on Settings
  4. Tap on Workspaces
  5. Go to the settings of any workspace
  6. Tap on the Workspace profile
  7. Tap on the Workspace name

Expected Result:

The Save button is displayed close to the navigation bar.

Actual Result:

The Save button is displayed far from the navigation bar and from the keypad when is displayed. There is a empty space between the button and the nav bar. The offline message is also displayed far from the navigation bar when the keypad is displayed.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6703178_1735333654794!save_button
Bug6703178_1735333654789!save_button_-_keypad

View all open jobs on GitHub

Activity

  1. added
    Daily
    Bug
    on Dec 28, 2024
  2. melvin-bot commented on Dec 28, 2024

    @melvin-bot

    Triggered auto assignment to @MitchExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. BhuvaneshPatil commented on Dec 28, 2024

    @BhuvaneshPatil
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    For android, In workspace name edit page we have extra padding at the bottom of submit button and offline indicator.

    What is the root cause of that problem?

    We are setting includeSafeAreaPaddingBottom as false here.

    <ScreenWrapper
    includeSafeAreaPaddingBottom={false}
    shouldEnableMaxHeight
    testID={WorkspaceNamePage.displayName}
    >

    As it's false the extra padding is applied at this place -

    containerStyles={
    includeSafeAreaPaddingBottom
    ? [styles.offlineIndicatorMobile]
    : [styles.offlineIndicatorMobile, {paddingBottom: paddingBottom + styles.offlineIndicatorMobile.paddingBottom}]
    }

    Thus we are seeing extra padding at bottom.

    What changes do you think we should make in order to solve the problem?

    We need to remove the prop includeSafeAreaPaddingBottom from ScreenWrapper component in WorkspaceNamePage component.
    Or we can pass it as true.

    Same is done here -

    <ScreenWrapper
    includeSafeAreaPaddingBottom
    shouldEnableMaxHeight
    testID={DisplayNamePage.displayName}

    Screenshot 2024-12-28 at 3 59 05 PM

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    NA

    What alternative solutions did you explore? (Optional)

    NA

  4. parasharrajat commented on Dec 28, 2024

    @parasharrajat
    Member

    Proposal looks solid but what caused this issue?

  5. parasharrajat commented on Dec 28, 2024

    @parasharrajat
    Member

    Looks like this will be solved in #51504 during their next PR.

  6. melvin-bot commented on Dec 31, 2024

    @melvin-bot

    @MitchExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  7. melvin-bot commented on Jan 2, 2025

    @melvin-bot

    @MitchExpensify Eep! 4 days overdue now. Issues have feelings too...

  8. MitchExpensify commented on Jan 3, 2025

    @MitchExpensify
    Contributor

    Waiting to see if this is solved in #51504 during their next PR.

  9. shubham1206agra commented on Jan 5, 2025

    @shubham1206agra
    Contributor

    @allgandalf @Krishna2323 Tagging you here for visibility.

  10. MitchExpensify commented on Jan 7, 2025

    @MitchExpensify
    Contributor

    Not overdue, waiting to see if this is solved in #51504 during their next PR.

  11. 23 remaining items

  12. MelvinBot commented on Feb 2, 2025

    @MelvinBot
    Contributor

    This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

  13. MitchExpensify commented on Feb 2, 2025

    @MitchExpensify
    Contributor

    Ok let's see if this continues not to be reproducible in subsequent tests

  14. melvin-bot commented on Feb 6, 2025

    @melvin-bot

    @MitchExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  15. melvin-bot commented on Feb 10, 2025

    @melvin-bot

    @MitchExpensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

  16. MitchExpensify commented on Feb 10, 2025

    @MitchExpensify
    Contributor

    @IuliiaHerets is this reproducible still?

  17. IuliiaHerets commented on Feb 11, 2025

    @IuliiaHerets
    Author

    @MitchExpensify Tester cannot repro the issue on build v9.0.96-0

    Retest.54636-HA.2.mp4
  18. melvin-bot commented on Feb 14, 2025

    @melvin-bot

    @MitchExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  19. linhvovan29546 commented on Feb 17, 2025

    @linhvovan29546
    Contributor

    #54636 (comment)

    I see a tooltip issue in the video above. Has it been reported? I couldn't find a related GitHub issue

  20. moved this from Bugs and Follow Up Issues to Done in #expensify-bugson Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDailyNeeds Reproduction

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions