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

Test issue #1 #1

Open
ikevin127 opened this issue Jan 28, 2024 · 106 comments
Open

Test issue #1 #1

ikevin127 opened this issue Jan 28, 2024 · 106 comments
Labels
Help Wanted Extra attention is needed Test

Comments

@ikevin127
Copy link
Owner

No description provided.

@ikevin127 ikevin127 added the Help Wanted Extra attention is needed label Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 28, 2024
@ikevin127
Copy link
Owner Author

ikevin127 commented Jan 28, 2024

Edited by proposal-police: This proposal was added at 2024-01-28 18:50:50 UTC.

Proposal
Please re-state the problem that we are trying to solve in this issue
Hand cursor is displayed when hovering over the task description placeholder.

What is the root cause of that problem?
https://github.com/Expensify/App/blob/ac94dc545a322de63375107e34e1ab31c26eaffe/src/components/TextInput/BaseTextInput/index.tsx#L320

We're using cursor: pointer on the task description label.

But due to the fact that the input container has styles.textInputMultilineContainer which is paddingTop: 23, and the container inherits the GenericPressable's cursor.pointer styles because:

https://github.com/Expensify/App/blob/ac94dc545a322de63375107e34e1ab31c26eaffe/src/components/Pressable/GenericPressable/BaseGenericPressable.tsx#L74

on this line there's no accesibilityRole or role passed down to the GenericPressable therefore we get the cursor.pointer and we see the pointer cursor.

What changes do you think we should make in order to solve the problem?
We should change the style to cursor: default.

To do this, within BaseTextInput we have to pass down the role prop to the PressableWithoutFeedback. This will make it such that the inherited cursor will be default instead of pointer.

What alternative solutions did you explore? (Optional)
We can also do this by adding styles.cursorDefault within BaseTextInput's wrapper where the paddingTop: 23 is passed.

Repository owner deleted a comment from proposal-police bot Jan 28, 2024
@ikevin127
Copy link
Owner Author

Proposal

What is the problem ?

Some problem.

What is the root cause ?

Everything.

Solution ?

Test solution.

Copy link

@ikevin127 Your proposal will be dismissed because you did not follow the proposal template.

Repository owner deleted a comment from proposal-police bot Jan 28, 2024
Repository owner deleted a comment from proposal-police bot Jan 29, 2024
Repository owner deleted a comment from proposal-police bot Jan 29, 2024
Repository owner deleted a comment from proposal-police bot Jan 29, 2024
Repository owner deleted a comment from proposal-police bot Jan 29, 2024
Copy link

@ikevin127 Thanks for your proposal. To be reviewed by Contributor+, please update your proposal using the proposal template.

@ikevin127
Copy link
Owner Author

ikevin127 commented Jan 10, 2025

Edited by proposal-police: This proposal was edited at 2025-01-10 02:23:39 UTC.

Proposal

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

"It's not here" page shows up briefly when deleting a track expense.

What is the root cause of that problem?

Revert the changes implemented by PR Expensify/App#51920 which would fix this issue and from my tests looks like the other issue (Expensify/App#51388) would not be reproducible anymore even with the fix implemented by the offending PR being reverted.

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

Note

As one can note regarding the other issue's result video below, we do indeed see a Not found page screen briefly (similar to this issue) after reverting the fix but I don't consider that an issue given we're in Debug mode and more importantly the behaviour is present on current staging (meaning no tradeoff).

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

N/A.

@ikevin127
Copy link
Owner Author

Proposal

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

"It's not here" page shows up briefly when deleting a track expense.

What is the root cause of that problem?

I don't know root cause as of now.

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

Revert the changes implemented by PR Expensify/App#51920 which would fix this issue and from my tests looks like the other issue (Expensify/App#51388) would not be reproducible anymore even with the fix implemented by the offending PR being reverted.

Note

As one can note regarding the other issue's result video below, we do indeed see a Not found page screen briefly (similar to this issue) after reverting the fix but I don't consider that an issue given we're in Debug mode and more importantly the behaviour is present on current staging (meaning no tradeoff).

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

doesn't apply

Copy link

@ikevin127 Thanks for your proposal. To be reviewed by Contributor+, please update your proposal using the proposal template.

@ikevin127
Copy link
Owner Author

Proposal

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

"It's not here" page shows up briefly when deleting a track expense.

What is the root cause of that problem?

Revert the changes implemented by PR Expensify/App#51920 which would fix this issue and from my tests looks like the other issue (Expensify/App#51388) would not be reproducible anymore even with the fix implemented by the offending PR being reverted.

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

Revert the changes implemented by PR Expensify/App#51920 which would fix this issue and from my tests looks like the other issue (Expensify/App#51388) would not be reproducible anymore even with the fix implemented by the offending PR being reverted.

Note

As one can note regarding the other issue's result video below, we do indeed see a Not found page screen briefly (similar to this issue) after reverting the fix but I don't consider that an issue given we're in Debug mode and more importantly the behaviour is present on current staging (meaning no tradeoff).

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

none

@ikevin127
Copy link
Owner Author

Proposal

What is the problem ?

Testing updated assistant proposal enforcement message.

What is the root cause ?

Everything.

Copy link

@ikevin127 Thanks for your proposal. To be reviewed by Contributor+, please update your proposal using the proposal template.

@ikevin127
Copy link
Owner Author

ikevin127 commented Jan 10, 2025

🚨 Edited by proposal-police: This proposal was edited at 2025-01-10 22:55:38 UTC.

Proposal

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

"It's not here" page shows up briefly when deleting a track expense.

What is the root cause of that problem?

Revert the changes implemented by PR Expensify/App#51920 which would fix this issue and from my tests looks like the other issue.

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

Revert the changes implemented by PR Expensify/App#51920 which would fix this issue and from my tests looks like the other issue (Expensify/App#51388) would not be reproducible anymore even with the fix implemented by the offending PR being reverted.

Note

As one can note regarding the other issue's result video below, we do indeed see a Not found page screen briefly (similar to this issue) after reverting the fix but I don't consider that an issue given we're in Debug mode and more importantly the behaviour is present on current staging (meaning no tradeoff).

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

none

@ikevin127
Copy link
Owner Author

Proposal

What is the problem ?

Testing updated assistant proposal enforcement message.

What is the root cause ?

Everything.

Copy link

github-actions bot commented Jan 10, 2025

⚠️ @ikevin127 Thanks for your proposal. Please update it to follow the proposal template, as proposals are only reviewed if they follow that format.

@ikevin127
Copy link
Owner Author

Proposal

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

"It's not here" page shows up briefly when deleting a track expense.

What is the root cause of that problem?

The RC of this issue comes from the fix implemented by this PR:

Expensify/App#51920
specifically the added !isFocused check here:

https://github.com/Expensify/App/blob/1a6f48ea0e2139a82d0a96578badbf3f761bcf00/src/pages/home/report/withReportOrNotFound.tsx#L91

which when we delete the track expense is false (initially) -> causing the if to not pass -> resulting in the only passing if being the shouldShowNotFoundPage one here:

https://github.com/Expensify/App/blob/1a6f48ea0e2139a82d0a96578badbf3f761bcf00/src/pages/home/report/withReportOrNotFound.tsx#L99-L101

which renders the It's not here page in our case.

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

Revert the changes implemented by PR Expensify/App#51920 which would fix this issue and from my tests looks like the other issue (Expensify/App#51388) would not be reproducible anymore even with the fix implemented by the offending PR being reverted.

Note

As one can note regarding the other issue's result video below, we do indeed see a Not found page screen briefly (similar to this issue) after reverting the fix but I don't consider that an issue given we're in Debug mode and more importantly the behaviour is present on current staging (meaning no tradeoff).

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

Test the solution implementation for the revert.

@ikevin127
Copy link
Owner Author

Proposal

What is the problem ?

Testing updated assistant proposal enforcement message.

What is the root cause ?

Everything.

@ikevin127
Copy link
Owner Author

Proposal looks good 👍

@ikevin127
Copy link
Owner Author

Proposal

What is the problem ?

Testing updated assistant proposal enforcement message.

What is the root cause ?

Everything.

Copy link

⚠️ Thanks for your proposal. Please update it to follow the proposal template, as proposals are only reviewed if they follow that format.

@ikevin127
Copy link
Owner Author

Proposal looks good 👍

@ikevin127
Copy link
Owner Author

Proposal

What is the problem ?

Testing updated assistant proposal enforcement message.

What is the root cause ?

Everything.

Copy link

⚠️ @ikevin127 Thanks for your proposal. Please update it to follow the proposal template, as proposals are only reviewed if they follow that format.

@ikevin127
Copy link
Owner Author

ikevin127 commented Jan 11, 2025

🚨 Edited by proposal-police: This proposal was edited at 2025-01-11 00:36:41 UTC.

Proposal

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

"It's not here" page shows up briefly when deleting a track expense.

What is the root cause of that problem?

Some sort of a root cause.

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

Revert the changes implemented by PR Expensify/App#51920 which would fix this issue and from my tests looks like the other issue (Expensify/App#51388) would not be reproducible anymore even with the fix implemented by the offending PR being reverted.

Note

As one can note regarding the other issue's result video below, we do indeed see a Not found page screen briefly (similar to this issue) after reverting the fix but I don't consider that an issue given we're in Debug mode and more importantly the behaviour is present on current staging (meaning no tradeoff).

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

Test the solution implementation for the revert.

@ikevin127
Copy link
Owner Author

Proposal

What is the problem ?

Testing updated assistant proposal enforcement message.

What is the root cause ?

Everything.

Copy link

⚠️ @ikevin127 Thanks for your proposal. Please update it to follow the proposal template, as proposals are only reviewed if they follow that format.

@ikevin127
Copy link
Owner Author

ikevin127 commented Jan 11, 2025

🚨 Edited by proposal-police: This proposal was edited at 2025-01-11 03:00:57 UTC.

Proposal

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

"It's not here" page shows up briefly when deleting a track expense.

What is the root cause of that problem?

Revert the changes implemented by PR Expensify/App#51920 which would fix this issue and from my tests looks like the other issue (Expensify/App#51388) would not be reproducible anymore even with the fix implemented by the offending PR being reverted.

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

Revert the changes implemented by PR Expensify/App#51920 which would fix this issue and from my tests looks like the other issue (Expensify/App#51388) would not be reproducible anymore even with the fix implemented by the offending PR being reverted.

Note

As one can note regarding the other issue's result video below, we do indeed see a Not found page screen briefly (similar to this issue) after reverting the fix but I don't consider that an issue given we're in Debug mode and more importantly the behaviour is present on current staging (meaning no tradeoff).

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

Test the solution implementation for the revert.

Copy link

⚠️ @ikevin127 Thanks for your proposal. Please update it to follow the proposal template, as proposals are only reviewed if they follow that format.

@ikevin127
Copy link
Owner Author

ikevin127 commented Jan 11, 2025

🚨 Edited by proposal-police: This proposal was edited at 2025-01-11 02:56:24 UTC.

Proposal

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

"It's not here" page shows up briefly when deleting a track expense.

What is the root cause of that problem?

ABC

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

Revert the changes implemented by PR Expensify/App#51920 which would fix this issue and from my tests looks like the other issue (Expensify/App#51388) would not be reproducible anymore even with the fix implemented by the offending PR being reverted.

Note

As one can note regarding the other issue's result video below, we do indeed see a Not found page screen briefly (similar to this issue) after reverting the fix but I don't consider that an issue given we're in Debug mode and more importantly the behaviour is present on current staging (meaning no tradeoff).

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

Test the solution implementation for the revert.

@ikevin127
Copy link
Owner Author

Proposal

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

"It's not here" page shows up briefly when deleting a track expense.

What is the root cause of that problem?

ABC

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

Revert the changes implemented by PR Expensify/App#51920 which would fix this issue and from my tests looks like the other issue (Expensify/App#51388) would not be reproducible anymore even with the fix implemented by the offending PR being reverted.

Note

As one can note regarding the other issue's result video below, we do indeed see a Not found page screen briefly (similar to this issue) after reverting the fix but I don't consider that an issue given we're in Debug mode and more importantly the behaviour is present on current staging (meaning no tradeoff).

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

Copy link

⚠️ @ikevin127 Thanks for your proposal. Please update it to follow the proposal template, as proposals are only reviewed if they follow that format (note the mandatory sections).

@ikevin127
Copy link
Owner Author

Proposal

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

"It's not here" page shows up briefly when deleting a track expense.

What is the root cause of that problem?

ABC

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

Revert the changes implemented by PR Expensify/App#51920 which would fix this issue and from my tests looks like the other issue (Expensify/App#51388) would not be reproducible anymore even with the fix implemented by the offending PR being reverted.

Note

As one can note regarding the other issue's result video below, we do indeed see a Not found page screen briefly (similar to this issue) after reverting the fix but I don't consider that an issue given we're in Debug mode and more importantly the behaviour is present on current staging (meaning no tradeoff).

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

@ikevin127
Copy link
Owner Author

ikevin127 commented Jan 15, 2025

🚨 Edited by proposal-police: This proposal was edited at 2025-01-15 23:44:11 UTC.

Proposal

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

"It's not here" page shows up briefly when deleting a track expense.

What is the root cause of that problem?

Offending PR being reverted.

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

Revert the changes implemented by PR Expensify/App#51920 which would fix this issue and from my tests looks like the other issue (Expensify/App#51388) would not be reproducible anymore even with the fix implemented by the offending PR being reverted.

Note

As one can note regarding the other issue's result video below, we do indeed see a Not found page screen briefly (similar to this issue) after reverting the fix but I don't consider that an issue given we're in Debug mode and more importantly the behaviour is present on current staging (meaning no tradeoff).

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

N/A

Copy link

⚠️ @ikevin127 Thanks for your proposal. Please update it to follow the proposal template, as proposals are only reviewed if they follow that format (note the mandatory sections).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted Extra attention is needed Test
Projects
None yet
Development

No branches or pull requests

2 participants