Giter Site home page Giter Site logo

just4fun / stuhome Goto Github PK

View Code? Open in Web Editor NEW
248.0 13.0 62.0 11.08 MB

:iphone: An iOS client for https://bbs.uestc.edu.cn/ written in react-native, redux and redux-observable. (Retired)

Home Page: https://www.notion.so/iOS-18468e4a446b49ab8bb8c35d1559d4b5

JavaScript 97.10% Objective-C 1.63% Java 0.64% Starlark 0.64%
uestc react react-native redux redux-observable rxjs

stuhome's Introduction

new_logo

alu alu alu

React Native GitHub issues MIT

What

An iOS client for https://bbs.uestc.edu.cn/ written in react-native, redux and redux-observable, which has been recommended officially as one of the best 3rd party iOS clients.

APIs are provided by appbyme/mobcent-discuz and partly documented by UESTC-BBS/API-Docs.

Archievement

Status

This app was published to App Store on Jan 7 2017, now it's retired and archived from Feb 26 2023.

https://apps.apple.com/cn/app/qing-shui-he-pan-stuhome/id1190564355

Some memories about the great experience to build this application during those years - https://www.notion.so/iOS-18468e4a446b49ab8bb8c35d1559d4b5

Screenshot

stuhome

Features

  • Authentication
    • Sign up (WebView)
    • Sign in
    • Sign out
  • Forum
    • View forums
    • View sub forums
    • View topics in each forum
  • Topic
    • View latest topics
    • View hot topics
    • View topic detail and comments
    • View specific comments (only from author, descending order, etc)
    • Publish topic
    • Edit published topic (WebView)
    • Reply topic
    • Reply comment
    • Favor topic
    • Upload images
    • Emoji
    • Show friend list to mention (@)
    • Report objectionable content
  • Vote
    • Create vote
    • Join in vote
    • View vote results
  • Search
  • Notifications
    • View list mentioned (@) me
    • View list replied me
    • View private messages
    • View system notifications
    • Notification alert
  • Individual
    • View my recent topics
    • View my favorite topics
    • Upload avatar
    • Update password

Try it out

Run in simulator

git clone [email protected]:just4fun/stuhome.git
cd stuhome
yarn

Then use Xcode to open this project and simply click Run.

Run on your iOS device

http://facebook.github.io/react-native/docs/running-on-device.html#running-your-app-on-ios-devices

Todo list

Known issues

  • User avatar is not displayed sometimes: RN/#5616 (Fixed by RN/#7262, and the patch is released in 0.26.0)
  • Switching between pages is not very smooth sometimes (Fixed by #19)
  • Image could not be inserted to TextInput: RN/#17468, RN/#18566
  • Unit tests are not working due to deprecated property in react-native-mock. react-native-mock/#158, #40
  • You need to patch this fix RN/#25146 in your local if you want to run the app with XCode 11, until the app upgraded to latest RN

FAQ

https://github.com/just4fun/stuhome/wiki/FAQ

License

The MIT License

stuhome's People

Contributors

just4fun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stuhome's Issues

Race condition

This issue is only existed in slow network.

  • User enters topic A
  • Topic A is still being requested, then user swipes back
  • User enters topic B
  • The response for topic A arrvies
  • Topic B displays the content for topic A

There is still image placeholder in content if we delete image attachment directly

Steps to reproduce

  • Publish a topic or comment with picture
  • Edit it then delete picture attachment directly but leave [attach]ATTACHMENT_NUMBER[/attach] in rich text
  • View content again, there is still image placeholder

Test url

http://bbs.uestc.edu.cn/forum.php?mod=viewthread&tid=1715089

Root cause

If we delete image attachment directly, the aid of the content item whose type=1 (image) will be 0, we should filter it out.

Context

Menu.js. This.context.menuActions is undefined ?

Does integrate Redux-Form is needed?

Hi @just4fun ,

You are doing a good job and thank you for open source your app that helps me a lot on developing my RN application.

And for the app, do we need to integrate the Redux-Form?

What do you think of that?

Thanks.

App will crash when some users access "个人 - 最近回复"

Thanks for the student 凌寒 provided his account then I can figure out this issue was caused by UESTC-BBS/API-Docs#13 which I already noticed several months ago (but I didn't notice it will impact existing functionalities).

Now I created a post on bbs to ask the website administrators whether they have official solution to filter the bad data.

http://bbs.uestc.edu.cn/forum.php?mod=viewthread&tid=1675973 (in review)

Otherwise I will use workaround I mentioned in UESTC-BBS/API-Docs#13 to fix it.

System notification

Missing feature.

First of all, need to compare two APIs,

  • message/notifylist
  • message/notifylistex

Then consider move Private Messages tab as individual access in side menu.

In-app browser

Replace iOS Safari with in-app browser to avoid jumping out.

Getting more done in GitHub with ZenHub

Hola! @waltcow has created a ZenHub account for the just4fun organization. ZenHub is the only project management tool integrated natively in GitHub – created specifically for fast-moving, software-driven teams.


How do I use ZenHub?

To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.

What can ZenHub do?

ZenHub adds a series of enhancements directly inside the GitHub UI:

  • Real-time, customizable task boards for GitHub issues;
  • Multi-Repository burndown charts, estimates, and velocity tracking based on GitHub Milestones;
  • Personal to-do lists and task prioritization;
  • Time-saving shortcuts – like a quick repo switcher, a “Move issue” button, and much more.

Add ZenHub to GitHub

Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @waltcow.

ZenHub Board

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.