Feature Smish or safe - #307
Open
Mahir18-GIT wants to merge 1 commit into
Open
Conversation
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.
Demo:
Attached below is a working video demonstrating the full UI flow and interaction of the "Smish or Safe?" feature. This includes the message input, analyze button functionality, and animated result card display with clear color-coded feedback.
All transitions follow consistent theming with the rest of the app.
Smish.OR.Safe.mp4
Summary of Changes:
This PR introduces the complete frontend implementation of the Smish or Safe feature, enhancing the Smishing Detection App by allowing users to manually check suspicious messages.
Key Implementations:
New Screen: Analyze Message Activity
Built a fully responsive UI with:
Input field for suspicious messages
Animated "Analyze Message" button
Progress loader for scan effect
Risk result card with dynamic color and visibility
Educational tip below results
Updated Navigation Logic
Integrated “Analyze a Message” CTA button from the homepage.
Ensured seamless activity transition using standard intents.
Thematic Consistency
Follows existing Material Design color palette (navy blue, caution red, safe green).
Ensured alignment with typography, rounded buttons, and margins.
Design Enhancements
Included all resources and drawables for new buttons and cards.
Implemented auto-clear UI state when text is removed.
Known Notes / Constraints:
This PR currently focuses on the frontend-only implementation.
The backend integration endpoint was postponed until PR from the backend contributor is approved.
Relevant code sections are modular to easily connect with the final API output once available.