airajena opened a new pull request, #11:
URL: https://github.com/apache/fineract-chat-archive/pull/11

   # PR Description
   ### Improve Slack message formatting (links, mentions, emoji, spacing)
   ## Summary
   
   Convert Slack markup to readable Markdown:
   
   - `<url|text>` → `[text](url)`
   - `<@U123>` → `@displayName`
   - `<#C123|name>` → `#name`
   - `<!here>` / `<!channel>` / `<!everyone>` → `@here` / `@channel` / 
`@everyone`
   - Add blank lines between messages for improved readability.
   - Replace emoji shortcodes like `:wave:` using a small curated map.
   - Use Unicode escape sequences to avoid platform encoding issues.
   
   ---
   
   ## After Formatting
   
   <img width="1644" height="584" alt="Screenshot 2026-02-10 104736" 
src="https://github.com/user-attachments/assets/86e7f71b-9e2d-40b6-943f-ddd12bd9b83b";
 />
   
   <img width="1178" height="401" alt="image" 
src="https://github.com/user-attachments/assets/186c3364-f381-4211-bd8a-848a3df6dd49";
 />
   
   ---
   
   ## Tests
   - ./gradlew test --tests 
org.apache.fineract.chat.archive.SlackTextFormatterTest


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to