Chat does not accept plain-text .log/json files

Open Beginner friendly
#361 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
desktop

Research direction

Start by locating the chat attachment handling and its file type or extension checks; the issue does not name files or tests. Compare how a .txt attachment is accepted with .log and .json files, then run the relevant attachment checks. Done when plain-text .log and .json files can be attached in chat.

Written by the indexing model from the issue text.

Description

bug
What happened

The chat does not accept the file. A copy of the same file renamed with a .txt extension can be attached.

Expected result
The chat accepts plain-text files as attachments.

image
Steps to reproduce

Steps to reproduce

  1. Create or select a plain-text file with a .log /json extension.
  2. Try to attach it to a Dusk Bot chat.
Version

0.2.31

Platform

Windows

Engine

No response

Logs or screenshots

Dominant language
TypeScript
Stars
277
Forks
27
Avg merge
15h 30m
Merged PRs (30d)
147

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DuskBotAI/duskbot

All issues in DuskBotAI/duskbot

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.