JZCalendarWeekView icon indicating copy to clipboard operation
JZCalendarWeekView copied to clipboard

information on limited date range

Open aron1127 opened this issue 5 years ago • 23 comments

Hi. Thank you very much for creating a useful library before asking questions.

I have a simple question. Limited date range: start time and end Time (vertical) in CalendarView I really want it. When will it be implemented?

aron1127 avatar May 20 '19 02:05 aron1127

Actually, I have one question regarding this requirement because a few people mentioned this feature in this project.

Do you want to hide all the other dates not in this range, and you cannot see those time or just simply don't allow users to scroll out of this range but they can still see those time.

I am not sure whether you can understand my meaning. If you cannot, could you send me a picture for your requirement? Thanks

zjfjack avatar May 20 '19 10:05 zjfjack

Hi. Thank you very much for creating a useful library before asking questions.

I have a simple question. Limited date range: start time and end Time (vertical) in CalendarView I really want it. When will it be implemented?

Have you achieve this ?

RanjeetStiga avatar May 20 '19 13:05 RanjeetStiga

@RanjeetStiga #76 Your case is cannot see those time?

Could you send some pictures here.

zjfjack avatar May 20 '19 13:05 zjfjack

It does not matter to me how it works.

If I set the time range from 08:00 to 22:00, should not show before 8:00 or after 22:00.

I also want to have the ability to update the time settings like forceReload.

Finally, if I set it after 10 o'clock and add an event before 10 o'clock, it should not cause an error. (exception handling) This is because there are a number of cases in the api of my app server.

aron1127 avatar May 21 '19 00:05 aron1127

Is it similar to Apple Calendar event details page? @aron1127 @RanjeetStiga @nttra83 @inlovewithswift

Users are not allowed to scroll both horizontally and vertically and view just displays the RowHeader (Time) without ColumnHeader (Date). That's how Apple Calendar does.

If you guys have the same requirements, I can try to unify them and do something for it.

Can we have a discussion here and ignore the #66 and #76 issues?

I really need you guys send me some of your requirements pictures, then it should be much easier for the discussion and implementation.

Thanks

zjfjack avatar May 21 '19 09:05 zjfjack

Hi. A need something like this too. For example I have first event from 8:00 to 8:30 and last event from 15:00 to 17:00. I want day calendar from 8:00 to 17:00. I know how many hours it is (9). I calculate height (my calendar is without scroll) by hour which I want display and row height (9 * hourHeight). This height I add to customCalendarView. For here all is ok. My problem is which part of collection view with events is displayed. I have part from currentTimeline, not from time which I need. In this case I want calendar from 8:00 to 17:00 with currentTimeline at 10:00, but I have calendar from 10:00 to 19:00 with currentTimeline on top. May be some about contentOffset of collection view? Is there some way how resolve this?

PMA22 avatar May 21 '19 14:05 PMA22

  • I do not speak English well, so word choice may not be appropriate.

I did not want a new view type like the Apple Calendar event details page. My requirements are so simple that I do not need a picture.

The current CalendarWeekView is displayed from 0:00 to 24:00 unconditionally. I just wanted to set this up.

If i set the time from 09:00 to 20:00, there should be no view before 9:00 or after 20:00. (Do not scroll too) wate Can not scroll up in this screen

In addition, when the short interval is set from 08:00 to 10:00 asdf

I'd want to show it like this image.

aron1127 avatar May 22 '19 01:05 aron1127

any update ?

RanjeetStiga avatar May 27 '19 12:05 RanjeetStiga

@RanjeetStiga I was working on the redesign of pagination which is a major release for the whole project. I released the latest 0.7.0 version yesterday.

For your requirements, you guys should have a discussion here with your design pictures and make a conclusion.

Otherwise, I cannot achieve all your requirements. You can put your requirements and pictures first.

Thanks

zjfjack avatar May 27 '19 13:05 zjfjack

Hi. When will it be updated? I currently need this very much.

Perhaps my design is a requirement for everyone. because the requirement is mentioned and there is no other design until now.

aron1127 avatar Jun 04 '19 06:06 aron1127

Hi @aron1127,

I haven't started it yet. I am still waiting for others' requirements. Regarding your requirements, I understand what you need vertically. As for the horizontal range, do you want them to have all the same vertical range as well? It means you can only scroll vertically from the start time to the end time with a vertical range even if you horizontally scroll to the other page.

Am I right? Do you guys also have similar requirements to his? Do you agree with this solution? @PMA22 @nttra83 @inlovewithswift

zjfjack avatar Jun 04 '19 10:06 zjfjack

Hi When will be update?

RanjeetStiga avatar Jun 24 '19 11:06 RanjeetStiga

Hi @zjfjack Do you have any good news about this issue? I am waiting for updates.. Could you tell me when it will be updated?

aron1127 avatar Jul 08 '19 02:07 aron1127

Hi @zjfjack It would be very useful for me if you can implement this feature. I have same requirements as @aron1127 . In example: i need to show events that are always in the range 8am-8pm (working time ∓ 1h) so even if i scroll to the next horizontal range, the vertical hours range must be the same. This will help my users to avoid to always manually scroll to 8am, because surely they won't have any 12am-8am event. Thank you for your time, hope to hear you soon about this.

barb94 avatar Jul 24 '19 09:07 barb94

Hello @zjfjack I have been delayed in development and have to re-plan. I want you to let me know when the development will be completed. Plz answer the your development schedule. I'm sorry I kept asking questions...

aron1127 avatar Aug 13 '19 05:08 aron1127

Hi @aron1127 and @barb94,

I was quite busy on my work for the last two months and I am not sure when I can start implementing this. Let me try to do it this weekend. If I can achieve it easily, then I will make the pull request. If I cannot, then I don't think I can finish them recently.

Sorry about that.

zjfjack avatar Aug 13 '19 05:08 zjfjack

Thank you for your answer. I hope it will be completed by August. I look forward to the good results!!

aron1127 avatar Aug 13 '19 08:08 aron1127

Hi @aron1127 @barb94,

I have some good news to you guys, which is that I am currently working on this feature. I've done some basic layout stuff.

There are still some issues for longPress and reload but it is showing! Hopefully, I won't have some complicated problems when resolving the left issues and release it as soon as possible.

Let me show you a screenshot of this new feature to make sure this is what you want.

Thanks!

Simulator Screen Shot - iPhone 8 - 2019-09-01 at 22 55 47

zjfjack avatar Sep 01 '19 13:09 zjfjack

@RanjeetStiga #76 Your case is cannot see those time?

Could you send some pictures here. Hi Same issue #76 @aron1127 .

RanjeetStiga avatar Sep 02 '19 04:09 RanjeetStiga

Hello @zjfjack , yes, this is exactly what I need!

Thank your for your work

barb94 avatar Sep 02 '19 09:09 barb94

Hi @zjfjack , is there any update about this feature? Thanks!

barb94 avatar Jan 02 '20 14:01 barb94

Hi @zjfjack,

was this function implemented in the meantime?

Thank you in advance!

Regards

dnhrtmn avatar Mar 31 '20 18:03 dnhrtmn

Hi @zjfjack is there any update about this feature? Thanks!

PoojaSoftRadix avatar Aug 12 '20 11:08 PoojaSoftRadix