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

ADS: Lint Rules #2697

Merged
merged 21 commits into from Jan 30, 2023
Merged

ADS: Lint Rules #2697

merged 21 commits into from Jan 30, 2023

Conversation

malmstein
Copy link
Contributor

@malmstein malmstein commented Jan 9, 2023

Task/Issue URL: https://app.asana.com/0/1174433894299346/1203399378949473

Description

Set of Lint rules to help develop using the new Android Design System:

Loads of unused resources and attributes have been removed.
The baseline files have been updated to match the new rules.

Steps to test this PR

Run ./gradleW lint

@malmstein malmstein force-pushed the 01-09-feature/david/ads/lint_rules branch from c6fecec to f911804 Compare January 9, 2023 15:45
@malmstein malmstein mentioned this pull request Jan 10, 2023
@malmstein malmstein force-pushed the 01-09-feature/david/ads/lint_rules branch from f911804 to 7066d59 Compare January 12, 2023 10:17
@malmstein malmstein force-pushed the 01-09-feature/david/ads/lint_rules branch from 7066d59 to 0c189d4 Compare January 12, 2023 13:33
@malmstein malmstein force-pushed the 01-09-feature/david/ads/lint_rules branch from 0c189d4 to 67edec2 Compare January 12, 2023 16:20
@malmstein malmstein force-pushed the 01-09-feature/david/ads/lint_rules branch 2 times, most recently from a378463 to df43a34 Compare January 13, 2023 13:34
@malmstein malmstein force-pushed the 01-09-feature/david/ads/lint_rules branch from df43a34 to 5273372 Compare January 16, 2023 09:40
@malmstein malmstein force-pushed the feature/david/ads_release branch 2 times, most recently from 09bff1e to bb534b4 Compare January 19, 2023 15:36
@malmstein malmstein force-pushed the 01-09-feature/david/ads/lint_rules branch from 7429e8f to b99c919 Compare January 19, 2023 15:36
@malmstein malmstein mentioned this pull request Jan 27, 2023
2 tasks
@malmstein malmstein marked this pull request as ready for review January 27, 2023 15:21
malmstein and others added 19 commits January 30, 2023 10:38
Task/Issue URL:
https://app.asana.com/0/1174433894299346/1203720277615468

### Description

### Steps to test this PR
Background
Task to track the work of removing unnecessary code in the app

Scope:
Attributes no longer in use
Remove old ButtonPrimaryRounded, ButtonSecondaryRounded, etc
Remove unused styles
Task/Issue URL:
https://app.asana.com/0/1174433894299346/1203827857866586

### Description
Adds a Maestro test to open the ADS Preview pages whenever a change to a
Component happens


### Steps to test this PR

_Non Android 13 device_
- [ ] Fresh install InternalRelease or InternalDebug version
- [ ] Run maestro tests locally (❯ maestro test
.maestro/ads_preview_flows/1-_design-system-components.yaml)


---
- To see the specific tasks where the Asana app for GitHub is being
used, see below:
  - https://app.asana.com/0/0/1203827857866586
@malmstein malmstein force-pushed the 01-09-feature/david/ads/lint_rules branch from 1402f71 to 5906404 Compare January 30, 2023 09:38
Copy link
Contributor

@nalcalag nalcalag left a comment

Choose a reason for hiding this comment

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

Lint is failing locally
Screenshot 2023-01-30 at 10 52 09

Copy link
Contributor

@nalcalag nalcalag left a comment

Choose a reason for hiding this comment

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

LGTM! 💯

@malmstein malmstein merged commit 33a0d52 into develop Jan 30, 2023
@malmstein malmstein deleted the 01-09-feature/david/ads/lint_rules branch January 30, 2023 12:51
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.

None yet

2 participants