micahlt / micahlt/offsides

Character limit displayed off by one

Open
#85 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
74
Forks
9
Avg merge
2d 6h
Merged PRs (30d)
5

Description

**Describe the bug**
When writing a post, the progress bar at the bottom shows a limit of 256 characters. However, a message with exactly 256 characters won't send, while a 255 character message does.

**To Reproduce**
Steps to reproduce the behavior:
1. Write a new post with exactly 256 characters
2. Press the send button; nothing happens
3. Delete one character and press send again; it now works

**Screenshots**
Image
This message was 256 characters, but I had to remove the "b" from "dumb" for it to go through.

**Smartphone (please complete the following information):**
- Device: Samsung Galaxy S24
- Android version: 16
- App version: 0.9.4

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in the Android app using a post of exactly 256 characters, then trace the character-limit display and send validation. Done means the displayed limit matches the accepted maximum and a 256-character post sends successfully; verify that 255-character posts still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
mobile-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.