Merged
Conversation
Introduces a new reusable `ConfirmDialog` Composable function. This dialog displays a title, a message, and provides "OK" and "Cancel" buttons for user confirmation.
Adds a new Kotlin extension property, `activity`, to the `Context` class. This utility allows for retrieving the `Activity` from any `Context` by traversing the `ContextWrapper` hierarchy. If no `Activity` is found, it throws an `IllegalStateException`.
Introduces an exit confirmation dialog when the back button is pressed on the home screen. This is achieved by: - Adding `openDialog` to `HomeState` to control the dialog's visibility. - Adding a new `ExitApp` `HomeEffect` to close the application. - Adding `OnBackPress`, `OnExitDialogConfirmed`, and `OnExitDialogCancelled` events to `HomeEvent` to handle user interactions with the back button and the dialog.
Introduces a confirmation dialog when the user presses the back button on the home screen. This change adds the following events to `HomeViewModel`: * `OnBackPress`: Sets a flag to show the exit dialog. * `OnExitDialogConfirmed`: Triggers an effect to close the application. * `OnExitDialogCancelled`: Hides the dialog.
Introduces an exit confirmation dialog on the `HomeScreen`. Key changes: - A `BackHandler` is added to intercept the back press event. - Pressing back now triggers a confirmation dialog asking the user if they want to exit the app. - New `HomeEffect.ExitApp`, `HomeEvent.OnBackPress`, `HomeEvent.OnExitDialogConfirmed`, and `HomeEvent.OnExitDialogCancelled` are handled to manage the dialog's state and app exit logic. - New string resources for the dialog title and message have been added.
Adds a new "Screenshots" section to the `README.md` file, showcasing the application's user interface with four new images.
Revamps the `README.md` to provide detailed instructions for setting up the project for contribution, including: - Forking the repository. - Configuring required GitHub secrets (`KEYSTORE_PASSWORD`, `KEY_ALIAS`, `KEY_PASSWORD`, `ANDROID_KEYSTORE`, `GOOGLE_PLAY_AUTH_JSON`) for the CI/CD workflows. - Commands and links for creating an Android keystore and a Google Play service account. The existing "Clone the repository" section is repurposed for users who only want to build and run the app locally, and the subsequent steps are renumbered accordingly.
Adds the `core/ui` layer to the architecture breakdown in the `README.md` file, describing it as the location for shared UI components, theme, and helper functions.
Removes the top-level `duration` metadata property from the codelab's frontmatter. Additionally, it formats the duration for the "Introduction" section from `4` to `4:00`.
Removes the unnecessary `----` divider from the frontmatter section of the `codelab.md` file.
Updates the image source paths in `codelab/codelab.md` to be relative to the current directory (`./images/`) instead of the parent directory (`../images/`).
Updates the `codelab.yml` workflow to use the `-prefix "My-Tasks"` option when running the `claat export` command. This ensures that generated links for assets like CSS and images are correctly prefixed. The step for renaming the output directory has been kept, as the folder name is determined by the `id` in the codelab's metadata, not the prefix.
This reverts commit 39db894.
This reverts commit 48a201f.
Sets the `home` property in the `codelab.md` frontmatter to `/My-Tasks/`. This allows the removal of the `-prefix "My-Tasks"` argument from the `claat export` command in the `codelab.yml` workflow, as the tool will now use the `home` property to configure the base path.
Updates the `home` URL in `codelab.md` from a relative path (`/My-Tasks/`) to an absolute GitHub Pages URL.
Updates the codelab metadata in `codelab/codelab.md` to a new format. Key changes include: - Renaming `category` to `categories`. - Renaming `author` to `authors`. - Renaming `lastupdated` to `updated`. - Renaming `environment` to `environments`. - Adding `tags`, `source`, and `feedback link` fields.
Adds an "About this codelab" section to `codelab/codelab.md` which includes: - Last Updated date - Author - Links to the source GitHub repository and for submitting feedback.
Updates the `README.md` file with several formatting improvements: - Fixes the paths for screenshot images. - Adds newlines for better readability in the "Tech Stack" section. - Corrects inconsistent indentation and spacing throughout the document.
Removes the `runs-on` value in the `validate_pr_sources` job within the codelab documentation, replacing it with a `TODO` comment to configure the runner to the latest Ubuntu version.
Removes the `runs-on` value in the `validate_pr_sources` job within the codelab documentation, replacing it with a `TODO` comment to configure the runner to the latest Ubuntu version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.