Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/JS-5093: Publishing #988

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Feature/JS-5093: Publishing #988

wants to merge 25 commits into from

Conversation

ra3orblade
Copy link
Contributor


  • I understand that contributing to this repository will require me to agree with the CLA

Description

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 📓 tech-docs
  • 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

@ra3orblade ra3orblade changed the base branch from main to feature/chat October 14, 2024 14:26
@ra3orblade ra3orblade changed the title Publish test Feature/JS-5093: Publishing Oct 18, 2024
Base automatically changed from feature/chat to main October 21, 2024 18:47
Comment on lines +4 to +9
Row = 0,
Column = 1,
Div = 2,
Header = 3,
TableRows = 4,
TableColumns = 5,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why to format it like that?

Comment on lines +815 to +817
if (message.error.code) {
return;
};
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can just skip brackets and make in online.
if (message.error.code) return

Comment on lines +195 to +201
export const ObjectPublish = (response: Rpc.Object.Publish.Response) => {
return {
cid: response.getPublishcid(),
key: response.getPublishfilekey(),
};
};

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

export const ObjectPublish = (response: Rpc.Object.Publish.Response) => ({
		cid: response.getPublishcid(),
		key: response.getPublishfilekey(),
})

I find it nicer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants